From 94ffab2b59ec59e8f0b66e37bbb36025719590af Mon Sep 17 00:00:00 2001 From: peet Date: Sat, 15 Jan 2022 14:05:19 +0100 Subject: [PATCH] removed unnessecary sudo --- bukkit-console | 6 +++--- bukkit-start | 2 +- bukkit-status | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bukkit-console b/bukkit-console index a234f65..efa267f 100755 --- a/bukkit-console +++ b/bukkit-console @@ -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 diff --git a/bukkit-start b/bukkit-start index b6d3b2f..5e47fb3 100755 --- a/bukkit-start +++ b/bukkit-start @@ -24,7 +24,7 @@ then cd /media/games/$server/ # start the screen with Socket name & title "bukkit" # and run the start script - sudo screen -dmS $server -t $server ./start.sh + screen -dmS $server -t $server ./start.sh # Now gimme my suxesvul eksit koud... true else diff --git a/bukkit-status b/bukkit-status index 57dac64..3eeaf69 100755 --- a/bukkit-status +++ b/bukkit-status @@ -17,7 +17,7 @@ fi # Is there a window with name "bukkit" already running in screen? # We don't need your fukcing text, ew... -sudo screen -ls $server > /dev/null +screen -ls $server > /dev/null if [ $? -eq 0 ] then # If the screen window is indeed running, shout it in my