diff --git a/debian-ports/2023.01.12.014522.FAIL b/debian-ports/2023.01.12.014522.FAIL new file mode 100644 index 0000000..e69de29 diff --git a/enter-datapoint.sh b/enter-datapoint.sh index 35b25db..ee65250 100755 --- a/enter-datapoint.sh +++ b/enter-datapoint.sh @@ -21,23 +21,3 @@ touch $DIST/$STAMP.$NAME git add --all git commit -m "$DIST $NAME" exit - -if [ -f "$BASE/$DIST.status.RUNNING" ]; then - echo rsync already running on $BASE/$DIST.status.RUNNING - exit -1 -fi -rsync $ARG $ARGD $SOURCE $DEST -RETURN=$? -rm $BASE/$DIST.status.RUNNING -echo rsync returned: $RETURN -if [ "$RETURN" == "0" ]; then - echo should echo OK into a google check file - echo OK > $BASE/STATUS - touch $BASE/$DIST.status.OK - touch $BACKUPDIR".log.OK" -else - echo should echo ERROR into a google check file - echo FAIL > $BASE/STATUS - touch $BASE/$DIST.status.FAIL - touch $BACKUPDIR".log.FAIL" -fi