init: silence warning while install cron job

This commit is contained in:
Sameer Naik 2014-06-17 21:18:22 +05:30
parent 01cc2e1cae
commit 81ae8dff8c

View File

@ -500,7 +500,7 @@ EOF
EOF
;;
esac
crontab -u git /tmp/cron.git && rm -rf /tmp/cron.git
crontab -u git /tmp/cron.git 2>/dev/null && rm -rf /tmp/cron.git
# watch the access logs
tail -F /var/log/nginx/gitlab_access.log