From 013ec27f9367c06eda4c38f561a6dab1b6a95870 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Fri, 31 Aug 2012 13:56:41 +0400 Subject: [PATCH] small message fix --- sbin/kernel-rebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/kernel-rebuild.sh b/sbin/kernel-rebuild.sh index adcea6b..bd62b59 100755 --- a/sbin/kernel-rebuild.sh +++ b/sbin/kernel-rebuild.sh @@ -31,7 +31,7 @@ cd /usr/src/linux [ "$?" != "0" ] && echo /usr/src/linux doesn\'t exist && exit -1 zcat $CONFIG_FILE >.config 2>/dev/null || cat $CONFIG_FILE >.config -[ "$?" != "0" ] && echo $CONFIG_FILE doesn\'t exist && exit -1 +[ "$?" != "0" ] && echo "$CONFIG_FILE doesn't exist or /usr mounted as read-only" && exit -1 if [ true == "$SILENT" ]; then yes "" | make silentoldconfig