diff --git a/usr/local/www/exec.php b/usr/local/www/exec.php index 1ce8657916..c6f878800d 100755 --- a/usr/local/www/exec.php +++ b/usr/local/www/exec.php @@ -54,7 +54,8 @@ if (($_POST['submit'] == "Download") && file_exists($_POST['dlPath'])) { unset($_POST['txtCommand']); } -conf_mount_rw(); +if($_POST) + conf_mount_rw(); // Function: is Blank // Returns true or false depending on blankness of argument. @@ -321,6 +322,7 @@ document.forms[0].txtCommand.focus(); +?> \ No newline at end of file