]> Zhao Yanbai Git Server - minix.git/commitdiff
ramdisk: clean up CD boot output 11/3411/1
authorDavid van Moolenbroek <david@minix3.org>
Fri, 24 Feb 2017 18:18:16 +0000 (18:18 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Fri, 24 Feb 2017 18:19:43 +0000 (18:19 +0000)
In particular, remove a stray '1'.

Change-Id: If82689060a92a4af318b01325492627944fba07f

minix/drivers/storage/ramdisk/rc

index a51dc083b3c4698b419f2dbc8a9e7d83cef059ba..fad33a8a6b4811f56820120c0138c18106057d7c 100644 (file)
@@ -56,7 +56,7 @@ minix-service up /service/procfs || echo "WARNING: couldn't start procfs"
 if sysenv rootdevname >/dev/null
 then   rootdevname=/dev/`sysenv rootdevname`
 else
-       if (! sysenv cdproberoot) && (! sysenv bootramdisk) >/dev/null
+       if ! sysenv cdproberoot >/dev/null && ! sysenv bootramdisk >/dev/null
        then    echo "rootdevname not set"
                exit 1
        fi