Removed --user from scrs function

pull/1020/head
memoryleakno1 2017-08-08 10:09:42 +02:00
parent f342cde666
commit e1ebc0dd95
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ about-plugin 'SystemD helper functions'
# Requires admin priviledge. # Requires admin priviledge.
scrs(){ scrs(){
if [ $# -eq 0 ]; then if [ $# -eq 0 ]; then
systemctl --user daemon-reload systemctl daemon-reload
else else
echo "Stopping $1.service ..." echo "Stopping $1.service ..."
systemctl stop "$1.service" systemctl stop "$1.service"