mirror of
https://github.com/azlux/log2ram.git
synced 2023-10-10 13:37:24 +02:00
Update install.sh
Fix redirection
This commit is contained in:
parent
e879db921e
commit
8e1a0e4418
@ -14,7 +14,7 @@ case "$INIT" in
|
|||||||
systemd)
|
systemd)
|
||||||
systemctl -q is-active log2ram && { echo 'ERROR: log2ram service is still running. Please run "sudo service log2ram stop" to stop it.' ; exit 1 ; } ;;
|
systemctl -q is-active log2ram && { echo 'ERROR: log2ram service is still running. Please run "sudo service log2ram stop" to stop it.' ; exit 1 ; } ;;
|
||||||
openrc)
|
openrc)
|
||||||
rc-service log2ram status 2>1 >/dev/null && { echo 'ERROR: log2ram service is still running. Please run "sudo rc-service log2ram stop" to stop it.' ; exit 1 ; } ;;
|
rc-service log2ram status >/dev/null 2>&1 && { echo 'ERROR: log2ram service is still running. Please run "sudo rc-service log2ram stop" to stop it.' ; exit 1 ; } ;;
|
||||||
*) echo 'ERROR: could not detect init-system' ; exit 1
|
*) echo 'ERROR: could not detect init-system' ; exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user