shared/shell: Fix checking for variable size argument

strsuffix returns 0 if the suffix matches.
diff --git a/src/shared/shell.c b/src/shared/shell.c
index 9395598..e7f17e0 100644
--- a/src/shared/shell.c
+++ b/src/shared/shell.c
@@ -279,8 +279,8 @@
 		return -EINVAL;
 	}
 
-	/* If argument ends with ,,, set we_offs bypass strict checks */
-	if (w->we_wordc && strsuffix(w->we_wordv[w->we_wordc -1], "..."))
+	/* If argument ends with ... set we_offs bypass strict checks */
+	if (w->we_wordc && !strsuffix(w->we_wordv[w->we_wordc -1], "..."))
 		w->we_offs = 1;
 
 	free(str);