diff --git a/bin/myc-check-and-launch-backup b/bin/myc-check-and-launch-backup index 8b9bb3d..3edac4c 100755 --- a/bin/myc-check-and-launch-backup +++ b/bin/myc-check-and-launch-backup @@ -4,7 +4,7 @@ ## Quick and dirty check launching backup ## -if ! cron_line=$(docker exec -ti myc_cron_1 cat /etc/cron.d/rsync-backup | grep "\* \* \*"); then +if ! cron_line=$(docker exec myc_cron_1 cat /etc/cron.d/rsync-backup | grep "\* \* \*"); then echo "can't find cron_line in cron container." >&2 exit 1 fi