]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
no bug - fix the entrypoint arbitrary command execution
authorDylan William Hardison <dylan@hardison.net>
Tue, 23 Jan 2018 16:15:59 +0000 (11:15 -0500)
committerGitHub <noreply@github.com>
Tue, 23 Jan 2018 16:15:59 +0000 (11:15 -0500)
scripts/entrypoint.pl

index dba64afbc0b51a8b851b02e9844d9e00b25a4466..a9ed4ee8c5d847db53fc451758effd18edb5e6de 100755 (executable)
@@ -35,7 +35,7 @@ my $opts = __PACKAGE__->can("opt_$cmd") // sub { @ARGV };
 my $func = __PACKAGE__->can("cmd_$cmd") // sub {
     check_data_dir();
     wait_for_db();
-    run(@_);
+    run($cmd, @_);
 };
 
 fix_path();