diff options
Diffstat (limited to 'tmp/post_upgrade_command.php')
-rwxr-xr-x | tmp/post_upgrade_command.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tmp/post_upgrade_command.php b/tmp/post_upgrade_command.php index c4a1357..a33dbb6 100755 --- a/tmp/post_upgrade_command.php +++ b/tmp/post_upgrade_command.php @@ -14,7 +14,7 @@ } $newslicedir = ""; - if ($argv[1] != "") + if (isset($argv[1]) && $argv[1] != "") $newslicedir = '/tmp/' . $argv[1]; if($g['enableserial_force'] || file_exists("{$newslicedir}/enableserial_force")) { |