strict comparison -

This commit is contained in:
2018-07-10 00:44:26 +04:00
parent f8d56b69e9
commit fdf7ee12f7

View File

@@ -209,11 +209,12 @@ ffmpeg_timelapse() {
} }
update_.g() { update_.g() {
local RES=$(.g pull) local RES=$(.g pull 2>&1)
if [[ $RES != "Already up-to-date." ]]; then if [[ ! ($RES =~ "Already up-to-date") ]]; then
echo "Updated .g" echo "Updated .g"
echo $RES echo $RES
echo "======" echo "======"
echo
fi fi
} }