mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
Fix systemctl test
This commit is contained in:
@@ -326,7 +326,7 @@ if [ "$product" = "webmin" ]; then
|
||||
fi
|
||||
fi
|
||||
rm -f /var/lock/subsys/$baseproduct
|
||||
if command -v systemctl >/dev/null 2>&1; then
|
||||
if [ -x "\$(command -v systemctl)" >/dev/null 2>&1 ] && [ -d "/etc/systemd" ]; then
|
||||
systemctl daemon-reload >/dev/null 2>&1
|
||||
fi
|
||||
if [ "$inetd" != "1" ]; then
|
||||
|
||||
Reference in New Issue
Block a user