--- srcpac.orig 2007-04-13 18:07:02.000000000 +0100 +++ srcpac 2007-04-13 18:08:45.000000000 +0100 @@ -323,10 +323,14 @@ output=`pacman -Spu --noconfirm $ignorestr` if [ $? -ne 0 ]; then - echo output + echo $output exit $? fi + if [ -z "$output" ]; then + exit $? + fi + declare -a packages for i in $output; do if [ `echo $i | grep ^\\\\\\(ftp\\\\\\|http\\\\\\|file\\\\\\)` ]; then