From: Frédéric Marchal Date: Sun, 15 Jul 2012 12:44:00 +0000 (+0200) Subject: Remove the message confirming that sarg is aborting X-Git-Tag: v2.3.3~41 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dde36afc909689e1031b1b79c1079d9336acf070;p=thirdparty%2Fsarg.git Remove the message confirming that sarg is aborting It is obvious sarg aborts after reporting an error. There is no need to display one more message telling so. --- diff --git a/util.c b/util.c index 0cdee15..72006b2 100644 --- a/util.c +++ b/util.c @@ -315,7 +315,6 @@ void my_mkdir(const char *name) if(!is_absolute(name)) { debuga(_("Invalid path (%s). Please, use absolute paths only.\n"),name); - debuga(_("process aborted.\n")); exit(EXIT_FAILURE); } @@ -330,7 +329,6 @@ void my_mkdir(const char *name) if (access(w0, R_OK) != 0) { if (mkdir(w0,0755)) { debuga(_("Cannot create directory %s - %s\n"),w0,strerror(errno)); - debuga(_("process aborted.\n")); exit(EXIT_FAILURE); } } @@ -342,7 +340,6 @@ void my_mkdir(const char *name) if (access(name, R_OK) != 0) { if (mkdir(name,0755)) { debuga(_("Cannot create directory %s - %s\n"),name,strerror(errno)); - debuga(_("process aborted.\n")); exit(EXIT_FAILURE); } }