diff options
Diffstat (limited to 'lsmb-request.pl')
-rw-r--r-- | lsmb-request.pl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lsmb-request.pl b/lsmb-request.pl index a0de6115..851d66b8 100644 --- a/lsmb-request.pl +++ b/lsmb-request.pl @@ -49,10 +49,9 @@ if (!$script){ &call_script( $script, $request ); sub call_script { - + my $script = shift @_; my $request = shift @_; - eval { require "scripts/$script" } || $request->error($locale->text('Unable to open script') . ": scripts/$script : $!"); $script =~ s/\.pl$//; |