output results of update check to stdout

This commit is contained in:
ray 2020-02-17 14:24:16 +00:00
commit 7caf5b168c

View file

@ -16,5 +16,6 @@ if ! [ "$_updates_available" -eq "$_updates_available" ] 2> /dev/null ; then
_updates_available="-1" _updates_available="-1"
fi fi
echo "Adding $_updates_available available updates to $_target_file"
echo "$_updates_available" > "$_target_file" echo "$_updates_available" > "$_target_file"
chown "$_user": "$_target_file" chown "$_user": "$_target_file"