www.nico.schottelius.org/software/cinit/browse_source/cinit-0.3pre8/doc/user/special-services.text

13 lines
225 B
Text
Raw Normal View History

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