LinuxGSM icon indicating copy to clipboard operation
LinuxGSM copied to clipboard

[LGSM] Add error handing to postdetails for when it's run as root

Open cedarlug opened this issue 10 years ago • 5 comments

Need to die early with an error message when someone tries to run ./scriptname pd as root.

cedarlug avatar Oct 07 '16 03:10 cedarlug

The root detection could be into the main script to prevent lgsm from downloading any function as root though. What do you think ?

UltimateByte avatar Oct 07 '16 03:10 UltimateByte

Maybe this more audacious one instead ? https://github.com/GameServerManagers/LinuxGSM/issues/1121 Would address your issue and some more.

UltimateByte avatar Oct 15 '16 02:10 UltimateByte

Indeed it would

cedarlug avatar Oct 15 '16 12:10 cedarlug

Close then ?

UltimateByte avatar Oct 15 '16 13:10 UltimateByte

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jul 19 '18 04:07 lock[bot]