Fix various issues
This commit is contained in:
parent
bce1d7aaf8
commit
145c71d426
4 changed files with 5 additions and 6 deletions
|
@ -1,13 +1,11 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
user=""
|
||||
target="$1"
|
||||
|
||||
if [ "$1" = "--user" ]; then
|
||||
user="--user"
|
||||
target="$2"
|
||||
shift
|
||||
fi
|
||||
|
||||
target="$1"
|
||||
|
||||
until systemctl $user is-active --quiet "$target"
|
||||
do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue