removed unnessecary sudo

This commit is contained in:
2022-01-15 14:05:19 +01:00
parent 7aef16ee93
commit 94ffab2b59
3 changed files with 5 additions and 5 deletions

View File

@@ -29,18 +29,18 @@ fi
if [ "$1" = "-f" ]
then
# Gimme the console
sudo screen -xr $server
screen -xr $server
# Now gimme my suxesvul eksid koud...
true
elif [ "$1" = "-ff" ]
then
# Hand me the console over
sudo screen -dr $server
screen -dr $server
# Now gimme my suxesvul eksid koud...
true
else
# Gimme the console, plz...
sudo screen -rq $server
screen -rq $server
if [ $? -gt 0 ]
then
# If the console is attached elsewhere, say it