www.nico.schottelius.org/software/cinit/browse_source/cinit-0.3pre9/doc/user/special-services.text
Nico Schottelius 423ba10303 import cinit from unix.schottelius.org
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-09-16 12:53:45 +02:00

12 lines
225 B
Text

at:
no non-forking mode
fsck:
returns non-zero if it repaired something.
You have to wrap it into a shell-script :-(
#!/bin/sh
fsck $@
[ $? -le 1 ] && exit 0
exit 1
Non-zero exit in general