diff --git a/crew b/crew index 8f6a7be3bc22340ae608700283126521d9f2560e..7d2461d8753a1b078c7d5b3f06547f2a0507c053 100755 --- a/crew +++ b/crew @@ -22,7 +22,7 @@ $LOAD_PATH.unshift "#{CREW_LIB_PATH}lib" USER = `whoami`.chomp #disallow sudo -abort "Chromebrew should not be run as root." if Process.uid == 0 +abort "Chromebrew should not be run as root." if Process.uid == 0 && @command != "remove" @device = JSON.parse(File.read(CREW_CONFIG_PATH + 'device.json'), symbolize_names: true) #symbolize also values