Fix various issues

This commit is contained in:
Tobias Reisinger 2025-05-20 13:43:17 +02:00
parent bce1d7aaf8
commit 145c71d426
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
4 changed files with 5 additions and 6 deletions

View file

@ -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