summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/draksec4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec
index f70bcd423..f78b5f63a 100755
--- a/perl-install/standalone/draksec
+++ b/perl-install/standalone/draksec
@@ -157,8 +157,10 @@ $contents
}return polkit.Result.NOT_HANDLED;};
EOF
} else {
- rm_rf($polkit_rules_file);
+ rm_rf($polkit_rules_file) if -f $polkit_rules_file;
}
+
+ system('systemctl', 'try-restart', 'polkit.service');
}
my %descr = (