diff options
Diffstat (limited to 'jobs')
-rwxr-xr-x | jobs/check-notebooks-backup.run | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jobs/check-notebooks-backup.run b/jobs/check-notebooks-backup.run index 2651d06..56f7cb6 100755 --- a/jobs/check-notebooks-backup.run +++ b/jobs/check-notebooks-backup.run @@ -6,5 +6,5 @@ echo "Check $todays_backup." output="$(guix environment --ad-hoc python2-s3cmd -- s3cmd ls "$todays_backup")" echo "$output" -# 容量が 1000 以下の場合はバックアップに失敗したと見做す +# 出力がない、もしくは容量が 1000 以下の場合はバックアップに失敗したと見做す echo "$output" | awk '!$3 || $3 <= 1000 { print "Failed!"; exit 1 }' |