www.nico.schottelius.org/software/cinit/browse_source/cinit-0.3pre16/doc/user/special-services.text
Nico Schottelius 0c13ed6979 add cinit-0.3pre16
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-09-29 21:36:27 +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