aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util-linux/scriptreplay.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/util-linux/scriptreplay.c b/util-linux/scriptreplay.c
index 6474d38e8..d7e193303 100644
--- a/util-linux/scriptreplay.c
+++ b/util-linux/scriptreplay.c
@@ -18,6 +18,9 @@ int scriptreplay_main(int argc UNUSED_PARAM, char **argv)
18 unsigned long count; 18 unsigned long count;
19 FILE *tfp; 19 FILE *tfp;
20 20
21 if (!argv[1])
22 bb_show_usage();
23
21 if (argv[2]) { 24 if (argv[2]) {
22 script = argv[2]; 25 script = argv[2];
23 if (argv[3]) 26 if (argv[3])