summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskippy <jonathan.yates.jones@gmail.com>2019-11-17 06:21:17 +0000
committerskippy <jonathan.yates.jones@gmail.com>2019-11-17 06:21:17 +0000
commitec4547ebe04dd910ecedc6193cbf53e38f05d4cd (patch)
treec5bdcc37efdec50a00c4d8ea4a91e53d96c9396b
parent768d0f18a091622902e7eefcb6b2f68bc17d3145 (diff)
downloadchef-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.rb2
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