Fix command redirection in postinst script
[rrq/maintain_lilo.git] / debian / lilo.postinst
index 4ede5ea2da49c2c20966b119e5ec95267fb5bcf5..43116fbb3597b0556e1098d26c4394de917a74ef 100644 (file)
@@ -36,7 +36,7 @@ case "$1" in
        # Check whether /boot is on another partition and mount it. See Bug#216250
        if grep "[[:space:]]/boot[[:space:]]" /etc/fstab | grep -vq "^#"; then
           if ! grep -q "[[:space:]]/boot[[:space:]]" /etc/mtab ; then
-               mount /boot 2>&1 > /dev/null
+               mount /boot  > /dev/null 2>&1
 
                if [ $? -ne 0 ]; then
                        echo