Fixed sudo/root bug
This commit is contained in:
parent
189f548123
commit
0121039cb6
@ -1,8 +1,5 @@
|
||||
#!/bin/bash
|
||||
# Update wrapper for code_server update script
|
||||
if [ $EUID != 0 ]; then
|
||||
sudo "$0" "$@"
|
||||
fi
|
||||
set -e
|
||||
|
||||
if [ ! -d ~/code_server ]; then
|
||||
cd ~ &&
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user