Skip to content

Commit 2644bf9

Browse files
author
Sean Bryant
committed
be more compatible
1 parent 03ee006 commit 2644bf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

accounts/definitions/account.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
group params[:gid] || params[:group]
4040
mode "0700"
4141
not_if do
42-
::Dir.exist?("#{node[:accounts][:dir]}/#{params[:name]}/.ssh")
42+
::File.exist?("#{node[:accounts][:dir]}/#{params[:name]}/.ssh")
4343
end
4444
end
4545
end

0 commit comments

Comments
 (0)