Skip to content

Commit 9250869

Browse files
committed
Fix typo
1 parent 6aad8b3 commit 9250869

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/post/linux/gather/enum_system.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,9 @@ def get_services(distro)
140140
when /gentoo/
141141
services_installed = execute("/bin/rc-status --all")
142142
when /arch/
143-
services_installed = execute("/bin/grep '^DAEMONS' /etc/rc.conf")
143+
services_installed = execute("/bin/egrep '^DAEMONS' /etc/rc.conf")
144144
else
145-
print_error("Could not determine the Linux Distribuition to get list of configured services")
145+
print_error("Could not determine the Linux Distribution to get list of configured services")
146146
end
147147
return services_installed
148148
end
@@ -161,7 +161,7 @@ def get_crons(users, user)
161161
end
162162
end
163163
else
164-
vprint_status("Enumerating as \"#{user}\"")
164+
vprint_status("Enumerating as #{user}")
165165
cron_data = "***** Listing cron jobs for #{user} *****\n\n"
166166
cron_data += execute("crontab -l")
167167
end

0 commit comments

Comments
 (0)