From 593697e498c4906b3d7ee6760fb5b687bb49040b Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Mon, 21 Mar 2016 16:32:11 -0300 Subject: Read return code from right command --- src/etc/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/etc/rc b/src/etc/rc index 301741f..514bfd0 100755 --- a/src/etc/rc +++ b/src/etc/rc @@ -46,8 +46,8 @@ if [ -e /root/force_fsck ]; then fi if [ "${PLATFORM}" != "cdrom" ]; then - /sbin/fsck -p -F FSCK_ACTION_NEEDED=0 + /sbin/fsck -p -F case $? in 0) echo "Filesystems are clean, continuing..." -- cgit v1.1