]> ruderich.org/simon Gitweb - wall-notify/wall-notify.git/commitdiff
use EXIT_SUCCESS
authorSimon Ruderich <simon@ruderich.org>
Thu, 23 Oct 2014 09:32:38 +0000 (11:32 +0200)
committerSimon Ruderich <simon@ruderich.org>
Thu, 23 Oct 2014 09:32:38 +0000 (11:32 +0200)
src/wall-notify.c

index b06740b39e143ddadc00b645685b82dec8f90dd4..95c4d8f8fad53d19534e449aff21b5c078914f30 100644 (file)
@@ -425,7 +425,7 @@ int main(int argc, char **argv) {
                 printf("%s%s\n",
                        PACKAGE_STRING,
                        strlen(GIT_VERSION) ? " (Git " GIT_VERSION ")" : "");
-                exit(0);
+                exit(EXIT_SUCCESS);
                 break;
             default:
                 fprintf(stderr, "%s: unknown option '%s'!\n\n",