mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
Don't suppress error output https://github.com/webmin/webmin/issues/1612
This commit is contained in:
@ -331,14 +331,14 @@ if [ "$product" = "webmin" ]; then
|
||||
fi
|
||||
fi
|
||||
rm -f /var/lock/subsys/$baseproduct
|
||||
systemctl daemon-reload >/dev/null 2>&1
|
||||
which systemctl >/dev/null 2>&1 && systemctl daemon-reload
|
||||
if [ "$inetd" != "1" ]; then
|
||||
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
|
||||
invoke-rc.d $baseproduct stop >/dev/null 2>&1 </dev/null
|
||||
invoke-rc.d $baseproduct start >/dev/null 2>&1 </dev/null
|
||||
invoke-rc.d $baseproduct stop
|
||||
invoke-rc.d $baseproduct start
|
||||
else
|
||||
/etc/$baseproduct/stop >/dev/null 2>&1 </dev/null
|
||||
/etc/$baseproduct/start >/dev/null 2>&1 </dev/null
|
||||
/etc/$baseproduct/stop
|
||||
/etc/$baseproduct/start
|
||||
fi
|
||||
fi
|
||||
if [ "$product" = "usermin" ]; then
|
||||
|
@ -256,10 +256,10 @@ export config_dir var_dir perl autoos port login crypt host ssl nochown autothir
|
||||
./setup.sh >\$tempdir/webmin-setup.out 2>&1
|
||||
chmod 600 \$tempdir/webmin-setup.out
|
||||
rm -f /var/lock/subsys/webmin
|
||||
systemctl daemon-reload >/dev/null 2>&1
|
||||
which systemctl >/dev/null 2>&1 && systemctl daemon-reload
|
||||
if [ "\$inetd" != "1" -a "\$startafter" = "1" ]; then
|
||||
/etc/init.d/webmin stop >/dev/null 2>&1 </dev/null
|
||||
/etc/init.d/webmin start >/dev/null 2>&1 </dev/null
|
||||
/etc/init.d/webmin stop
|
||||
/etc/init.d/webmin start
|
||||
fi
|
||||
cat >/etc/webmin/uninstall.sh <<EOFF
|
||||
#!/bin/sh
|
||||
|
Reference in New Issue
Block a user