aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/main.c b/shell/main.c
index 6329c26d38..c8e802b985 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -257,7 +257,7 @@ main (int argc, char **argv)
uri_list = NULL;
args = poptGetArgs (popt_context);
- if (args == NULL) {
+ if (args != NULL) {
const char **p;
for (p = args; *p != NULL; p++)