destroy: implement necessary -y option to autoconfirm
This commit is contained in:
1 parent
b9d8e6930b
commit
b751cfce07
1 file changed
+2
-2
@@ -390,9 +390,9 @@ if($_POST):
|
||||
break;
|
||||
else:
|
||||
if (isset($_POST['nowstop'])):
|
||||
$cmd = ("/usr/local/bin/bastille destroy -f {$item}");
|
||||
$cmd = ("/usr/local/bin/bastille destroy -afy {$item}");
|
||||
else:
|
||||
$cmd = ("/usr/local/bin/bastille destroy {$item}");
|
||||
$cmd = ("/usr/local/bin/bastille destroy -fy {$item}");
|
||||
endif;
|
||||
unset($output,$retval);mwexec2($cmd,$output,$retval);
|
||||
if($retval == 0):
|
||||
|
||||
Reference in new issue
Block a user