aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid M. Syzdek <syzdek@bindlebinaries.com>2017-07-06 16:02:14 -0800
committerDavid M. Syzdek <syzdek@bindlebinaries.com>2017-07-06 16:02:14 -0800
commitd99492fb9e325bf63249778f3795fa2b808decfa (patch)
treeb2cb8d49b896f0bb49c057d1d60da98f42781f47
parent8d8364bf036da038052d15be94a8d323098355b5 (diff)
downloadsecurecoreutils-d99492fb9e325bf63249778f3795fa2b808decfa.tar.gz
securecoreutils-d99492fb9e325bf63249778f3795fa2b808decfa.tar.bz2
securecoreutils-d99492fb9e325bf63249778f3795fa2b808decfa.tar.xz
securecoreutils-d99492fb9e325bf63249778f3795fa2b808decfa.zip
Fixing -q option in pathcheck widget
-rw-r--r--src/widget-pathcheck.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widget-pathcheck.c b/src/widget-pathcheck.c
index 5b50104..f50ab6b 100644
--- a/src/widget-pathcheck.c
+++ b/src/widget-pathcheck.c
@@ -146,7 +146,8 @@ int scu_widget_pathcheck(scu_config * cnf)
146 146
147 if ((rc = scu_pathcheck(cnf->argv[optind], isdir)) != 0) 147 if ((rc = scu_pathcheck(cnf->argv[optind], isdir)) != 0)
148 { 148 {
149 fprintf(stderr, "%s: %s: %s\n", PROGRAM_NAME, cnf->widget->name, scu_strerror(rc)); 149 if (!(cnf->quiet))
150 fprintf(stderr, "%s: %s: %s\n", PROGRAM_NAME, cnf->widget->name, scu_strerror(rc));
150 return(1); 151 return(1);
151 }; 152 };
152 153