diff --git a/lug-helper.sh b/lug-helper.sh index 43be6ef..167fca4 100755 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -261,6 +261,7 @@ try_exec() { retval=0 # Use pollkit's pkexec for gui authentication with a fallback to sudo if [ -x "$(command -v pkexec)" ]; then + gnome-terminal -- bash -c "pkttyagent --process $$" pkexec sh -c "$1" # Check the exit status