diff options
| author | David M. Syzdek <syzdek@bindlebinaries.com> | 2017-07-06 16:01:41 -0800 |
|---|---|---|
| committer | David M. Syzdek <syzdek@bindlebinaries.com> | 2017-07-06 16:01:41 -0800 |
| commit | 8d8364bf036da038052d15be94a8d323098355b5 (patch) | |
| tree | 68e4f0d2a237f055f8178af89bdc0d8ff050f2aa | |
| parent | 0ad2aeaf60b4a74572d8eed7d587c13f7a6cc099 (diff) | |
| download | securecoreutils-8d8364bf036da038052d15be94a8d323098355b5.tar.gz securecoreutils-8d8364bf036da038052d15be94a8d323098355b5.tar.bz2 securecoreutils-8d8364bf036da038052d15be94a8d323098355b5.tar.xz securecoreutils-8d8364bf036da038052d15be94a8d323098355b5.zip | |
Fixing -d option in pathcheck widget
| -rw-r--r-- | src/widget-pathcheck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget-pathcheck.c b/src/widget-pathcheck.c index 852f928..5b50104 100644 --- a/src/widget-pathcheck.c +++ b/src/widget-pathcheck.c | |||
| @@ -144,7 +144,7 @@ int scu_widget_pathcheck(scu_config * cnf) | |||
| 144 | return(1); | 144 | return(1); |
| 145 | }; | 145 | }; |
| 146 | 146 | ||
| 147 | if ((rc = scu_pathcheck(cnf->argv[optind], 0)) != 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 | fprintf(stderr, "%s: %s: %s\n", PROGRAM_NAME, cnf->widget->name, scu_strerror(rc)); |
| 150 | return(1); | 150 | return(1); |
