--- /usr/bin/revdep-rebuild 2010-05-06 15:54:47.000000000 +0100 +++ /home/hangfire/revdep-new 2010-08-05 04:54:54.000000000 +0100 @@ -1133,7 +1133,8 @@ ## # Finish up cleanup() { - if (( $(<"$STATUS_FILE") != 0 )); then + EMERGE_STATUS=$(<"$STATUS_FILE") + if (( $EMERGE_STATUS != 0 )); then ewarn ewarn "$APP_NAME failed to emerge all packages." ewarn 'you have the following choices:'