Ahtenus / minecraft-init

Init script for minecraft and bukkit servers
404 stars 125 forks source link

Properly pass value of $SCREEN to as_user #163

Closed Bisa closed 10 years ago

Bisa commented 10 years ago

Now passes the value of the variable rather than the literal '$SCREEN' to the as_user function when user requests the screen command.

(useful when this script is used to manage multiple instances for the same user in which case the screen attached would not necessarily be the one intended as the SCREEN variable was not used properly)