diff options
Diffstat (limited to 'adu-download')
-rwxr-xr-x | adu-download | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adu-download b/adu-download index 9fcf505..dff7501 100755 --- a/adu-download +++ b/adu-download @@ -30,7 +30,7 @@ UPDATE_TARGET="${SBINDIR}/adu-upgrade" apt-get -qq update upgradeable=$(apt -qq list --upgradeable 2>/dev/null) -upgrades=$(echo "$upgradeable" | wc -l) +upgrades=$(echo "$upgradeable" | grep -c . | cat) if [ "$upgrades" -eq 0 ]; then exit 0 fi |