output results of update check to stdout

This commit is contained in:
ray 2020-02-17 14:24:16 +00:00
parent 08d3c89137
commit 7caf5b168c
1 changed files with 1 additions and 0 deletions

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"