← Commit list

997538ab5

Denys Vlasenko
Denys Vlasenko
2009-07-19
FAILED Duration: 34s

Subject

scriptreplay: show help text if run with no arguments

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

util-linux/scriptreplay.c+3 -0
@@ -18,6 +18,9 @@ int scriptreplay_main(int argc UNUSED_PARAM, char **argv)
unsigned long count;
FILE *tfp;
+ if (!argv[1])
+ bb_show_usage();
+
if (argv[2]) {
script = argv[2];
if (argv[3])