We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a2dfdba + 298dc62 commit ef733aaCopy full SHA for ef733aa
lib/facter/root_home.rb
@@ -6,6 +6,6 @@
6
rescue LoadError
7
# Unavailable on platforms like Windows
8
else
9
- Etc.getpwnam('root').dir
+ Etc.getpwnam('root')&.dir
10
end
11
0 commit comments