aboutsummaryrefslogtreecommitdiff
path: root/swaybg
diff options
context:
space:
mode:
authorChristoph Gysin <christoph.gysin@gmail.com>2015-11-28 15:47:44 +0200
committerChristoph Gysin <christoph.gysin@gmail.com>2015-11-28 23:50:10 +0200
commit3ba33321de0790d60dc473acee093de5a3650480 (patch)
tree0ecb798f583540dca71cadc5ba858131f91d8c9b /swaybg
parent01617131f110a3a80987706ff6e86c46f2269255 (diff)
Use macros for exit values
Diffstat (limited to 'swaybg')
-rw-r--r--swaybg/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybg/main.c b/swaybg/main.c
index ec64ddb7..69d718c5 100644
--- a/swaybg/main.c
+++ b/swaybg/main.c
@@ -29,7 +29,7 @@ void sway_terminate(void) {
}
list_free(surfaces);
registry_teardown(registry);
- exit(1);
+ exit(EXIT_FAILURE);
}
int main(int argc, const char **argv) {