Skip to content

Commit ecce42b

Browse files
authored
removed sudo in shutdown in kazoo.py
1 parent dac514b commit ecce42b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/scripts/nbl/ci/dev/lib/kazoo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def shutdownOs():
6666
if os.name == 'nt' or os.name == 'java': # For windows and java (in the rare case of running jython)
6767
return os.system('shutdown /s /f 0')
6868
elif os.name == 'posix': # For Unix, Linux, Mac
69-
return os.system('sudo shutdown -h now')
69+
return os.system('shutdown -h now')
7070
else:
7171
print('Unknown operating system') # Docs for os.name listed only the above three cases
7272
return 1

0 commit comments

Comments
 (0)