summaryrefslogtreecommitdiff
path: root/Userland/Utilities/watch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Utilities/watch.cpp')
-rw-r--r--Userland/Utilities/watch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/watch.cpp b/Userland/Utilities/watch.cpp
index 7c3788a192..c749ed16c6 100644
--- a/Userland/Utilities/watch.cpp
+++ b/Userland/Utilities/watch.cpp
@@ -25,7 +25,7 @@
static int opt_interval = 2;
static bool flag_noheader = false;
static bool flag_beep_on_fail = false;
-static volatile int exit_code = 0;
+static int volatile exit_code = 0;
static volatile pid_t child_pid = -1;
static String build_header_string(Vector<char const*> const& command, struct timeval const& interval)