--- srcpac 2005-05-28 07:48:29.000000000 +0200 +++ srcpac.patched 2006-10-28 11:29:08.000000000 +0200 @@ -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