Skip to content

Commit 5011c4d

Browse files
committed
The "unless" Ruby nazi is in town
1 parent 5ec3d5f commit 5011c4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/post/osx/gather/autologin_password.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def initialize(info={})
3737

3838
def run
3939
# ensure the user is root (or can read the kcpassword)
40-
if not user == 'root'
40+
unless user == 'root'
4141
fail_with(Failure::NoAccess, "Root privileges are required to read kcpassword file")
4242
end
4343

0 commit comments

Comments
 (0)