tidy up exit status

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell
2022-06-13 07:41:40 +01:00
parent f5e5e151e6
commit 7c69e572e0
+2 -6
View File
@@ -2,13 +2,9 @@
command:
home_dirs_exist:
title: 6.2.9 | Ensure all users' home directories exist
exec: pwck -r
exec: pwck -r | grep -v journal | grep "does not exist"
timeout: {{ .Vars.timeout_ms }}
exit-status:
or:
- 0
- 1
- 2
exit-status: 1
stdout:
- '!/does not exist/'
meta: