diff options
author | jbj <devnull@localhost> | 1998-11-20 20:18:22 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1998-11-20 20:18:22 +0000 |
commit | a15a36abd12dba7dcf5cab390100dfcbc16dd6b8 (patch) | |
tree | 95578f21fd63f1fd2afdc18d1019d9346bc695a9 /rpm-qo.c | |
parent | 8f2a5b4031cba427d46b8d19a8da5d30eddb2f4a (diff) | |
download | rpm-a15a36abd12dba7dcf5cab390100dfcbc16dd6b8.tar.gz rpm-a15a36abd12dba7dcf5cab390100dfcbc16dd6b8.tar.bz2 rpm-a15a36abd12dba7dcf5cab390100dfcbc16dd6b8.zip |
Sanity.
CVS patchset: 2551
CVS date: 1998/11/20 20:18:22
Diffstat (limited to 'rpm-qo.c')
-rw-r--r-- | rpm-qo.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -36,7 +36,7 @@ static void argerror(char * desc); static void argerror(char * desc) { fprintf(stderr, _("rpm: %s\n"), desc); - exit(1); + exit(EXIT_FAILURE); } void printHelp(void); @@ -176,10 +176,10 @@ int main(int argc, char ** argv) { /* reading this early makes it easy to override */ if (rpmReadConfigFiles(rcfile, arch, os, building)) - exit(1); + exit(EXIT_FAILURE); if (showrc) { rpmShowRC(stdout); - exit(0); + exit(EXIT_SUCCESS); } while (1) { @@ -346,7 +346,7 @@ int main(int argc, char ** argv) { if (help) printHelp(); if (badOption) - exit(1); + exit(EXIT_FAILURE); if (queryScripts) { queryFor |= QUERY_FOR_SCRIPTS; |