Skip to content

Commit d32340c

Browse files
committed
make-sysext: Use run0 instead of sudo
This is also easier to do from toolboxes, as run0 uses the host's polkit authentication agent.
1 parent 0fd946b commit d32340c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/make-sysext

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ else
8989
fi
9090

9191
if systemd-detect-virt --quiet --container; then
92-
flatpak-spawn --host sudo -S "$0" "$arg"
92+
flatpak-spawn --host run0 "$0" "$arg"
9393
else
94-
sudo "$0" "$arg"
94+
run0 "$0" "$arg"
9595
fi

0 commit comments

Comments
 (0)