summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/add.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/add.c b/src/add.c
index 06b06f7..f75a4b7 100644
--- a/src/add.c
+++ b/src/add.c
@@ -60,7 +60,8 @@ static int add_main(void *ctx, int argc, char **argv)
struct apk_dependency virtdep;
int i, r;
- if (strcmp(argv[0], "starwars") == 0)
+ if ((argc > 0) && (apk_verbosity > 1) &&
+ (strcmp(argv[0], "starwars") == 0))
return system("telnet towel.blinkenlights.nl");
r = apk_db_open(&db, apk_root, actx->open_flags | APK_OPENF_WRITE);