uncombine if statement (i love debugging)
This commit is contained in:
parent
2b1b4144bd
commit
f32f155605
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue