#!/bin/sh STATUS_FILE=/last_backup_status.txt if [ ! -f "${STATUS_FILE}" ]; then exit 0 fi if [ "$(cat "${STATUS_FILE}")" != "success" ]; then exit 1 fi exit 0