diff options
Diffstat (limited to 'src/widget-pathcheck.c')
| -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); |
