From dde36afc909689e1031b1b79c1079d9336acf070 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Marchal?= Date: Sun, 15 Jul 2012 14:44:00 +0200 Subject: [PATCH] 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. --- util.c | 3 --- 1 file changed, 3 deletions(-) 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); } } -- 2.47.2