summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/Wizcommon.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/common/Wizcommon.pm b/common/Wizcommon.pm
index 106a9a44..5caa0766 100644
--- a/common/Wizcommon.pm
+++ b/common/Wizcommon.pm
@@ -45,9 +45,7 @@ sub new {
sub check_started {
my ($service) = @_;
my ($isrunning) = services::is_service_running($service);
- if (!$isrunning) {
- return 'error_end';
- }
+ return 'error_end' if !$isrunning;
}
sub check_starts_on_boot($$) {