uncombine if statement (i love debugging)

This commit is contained in:
Cere 2024-07-08 04:01:29 -04:00
parent 2b1b4144bd
commit f32f155605

View file

@ -71,7 +71,8 @@ checkpretimestamps () {
if [ ! -f "$STCS_CACHED_TIMESTAMP_PATH" ]; then if [ ! -f "$STCS_CACHED_TIMESTAMP_PATH" ]; then
# Cached timestamp does not exist. # Cached timestamp does not exist.
echo "1" | tee "$STCS_CACHED_TIMESTAMP_PATH" echo "1" | tee "$STCS_CACHED_TIMESTAMP_PATH"
elif [ ! -f "$STCS_SYNCED_TIMESTAMP_PATH" ]; then fi
if [ ! -f "$STCS_SYNCED_TIMESTAMP_PATH" ]; then
# Synced timestamp does not exist # Synced timestamp does not exist
echo "0" | tee "$STCS_SYNCED_TIMESTAMP_PATH" echo "0" | tee "$STCS_SYNCED_TIMESTAMP_PATH"
fi fi