summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/extra/supd6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/extra/supd b/bin/extra/supd
index b4347b2..931d808 100755
--- a/bin/extra/supd
+++ b/bin/extra/supd
@@ -8,8 +8,10 @@ check ()
do
print_dir "$2/$dir"
cd "$2/$dir" || continue
- git pull 2> /dev/null | tr -d '\n'
- echo
+ git pull > /dev/null 2>&1 &&
+ printf 'Up to date.' ||
+ printf 'Couldn'\''t update.'
+ printf '\n'
done
}