From d2b1aa09df81e7a26cf831fe54a6d6282075ca0d Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Wed, 12 Feb 2014 01:02:08 +0100 Subject: [PATCH] partresize: fix output redirection to dev/zero. --- src/initscripts/init.d/partresize | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/initscripts/init.d/partresize b/src/initscripts/init.d/partresize index caa4ab88d..f9b1aa92f 100644 --- a/src/initscripts/init.d/partresize +++ b/src/initscripts/init.d/partresize @@ -40,14 +40,14 @@ case "${1}" in echo -e ',+' | sfdisk --no-reread -f -N3 ${DRV} 2>/dev/null boot_mesg "Update c,h,s values of ${DRV}1 ..." - echo -e ',' | sfdisk --no-reread -f -N1 ${DRV} 2>&1 > /dev/null + echo -e ',' | sfdisk --no-reread -f -N1 ${DRV} &> /dev/null # Erase symlink, it should run only once rm -f /etc/rc.d/rcsysinit.d/S25partresize boot_mesg "Rebooting ..." sync - mount -o remount,ro / 2>&1 > /dev/null + mount -o remount,ro / &> /dev/null sleep 15 reboot -f -- 2.39.2