We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e4063e commit 8ae7031Copy full SHA for 8ae7031
web/stop/service/index.php
@@ -14,10 +14,14 @@
14
exec (VESTA_CMD."v-stop-service ".$v_service, $output, $return_var);
15
}
16
17
+
18
if ($return_var != 0) {
19
$error = implode('<br>', $output);
- if (empty($error)) $error = __('SERVICE_ACTION_FAILED',__('stop'),$v_service);
20
- $_SESSION['error_srv'] = $error;
+ if (empty($error)) {
21
+ $error = __('SERVICE_ACTION_FAILED', __('stop'), $v_service);
22
+ }
23
24
+ $_SESSION['error_srv'] = $error;
25
26
unset($output);
27
0 commit comments