aboutsummaryrefslogtreecommitdiff
path: root/swaybg
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-11-29 09:04:39 -0500
committerDrew DeVault <sir@cmpwn.com>2015-11-29 09:04:39 -0500
commit0af15cc19e4cfa27ff087bb1dc27f71cb4c921cf (patch)
treeed2176af83dca75b5c51d179ace905feb234a024 /swaybg
parent01c5349e1a792c40725a23d95c537419ee7cdb1a (diff)
parent923c3245ace71ea0e26a0b12746a699fa499f759 (diff)
Merge pull request #269 from christophgysin/usage
Add --help to print usage
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) {