diff options
author | skippy <jonathan.yates.jones@gmail.com> | 2019-11-17 06:21:17 +0000 |
---|---|---|
committer | skippy <jonathan.yates.jones@gmail.com> | 2019-11-17 06:21:17 +0000 |
commit | ec4547ebe04dd910ecedc6193cbf53e38f05d4cd (patch) | |
tree | c5bdcc37efdec50a00c4d8ea4a91e53d96c9396b | |
parent | 768d0f18a091622902e7eefcb6b2f68bc17d3145 (diff) | |
download | chef-ec4547ebe04dd910ecedc6193cbf53e38f05d4cd.tar.gz |
Fixed my bad typing and misplaced colons.
Signed-off-by: Jonathan Jones <gitmaster@thespooky.house>
-rw-r--r-- | lib/chef/provider/user/linux.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/user/linux.rb b/lib/chef/provider/user/linux.rb index 58d14e40e2..9c49f4c31d 100644 --- a/lib/chef/provider/user/linux.rb +++ b/lib/chef/provider/user/linux.rb @@ -60,7 +60,7 @@ class Chef ret_codes = [0] if updating_home? if new_resource.manage_home - home_dir_exist = shell_out!("test", "-d" new_resource.home, returns [1]) + home_dir_exist = shell_out!("test", "-d", new_resource.home, returns: [1]) if home_dir_exist.error? opts << 12 end |