File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
modules/post/linux/gather Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -140,9 +140,9 @@ def get_services(distro)
140
140
when /gentoo/
141
141
services_installed = execute ( "/bin/rc-status --all" )
142
142
when /arch/
143
- services_installed = execute ( "/bin/grep '^DAEMONS' /etc/rc.conf" )
143
+ services_installed = execute ( "/bin/egrep '^DAEMONS' /etc/rc.conf" )
144
144
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" )
146
146
end
147
147
return services_installed
148
148
end
@@ -161,7 +161,7 @@ def get_crons(users, user)
161
161
end
162
162
end
163
163
else
164
- vprint_status ( "Enumerating as \" #{ user } \" " )
164
+ vprint_status ( "Enumerating as #{ user } " )
165
165
cron_data = "***** Listing cron jobs for #{ user } *****\n \n "
166
166
cron_data += execute ( "crontab -l" )
167
167
end
You can’t perform that action at this time.
0 commit comments