diff options
| -rw-r--r-- | zsh/zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -53,7 +53,7 @@ function _already_sync_after_wakeup() { | |||
| 53 | 53 | ||
| 54 | latest=$(date -d @`stat -c %X "$WAKEUP"` +%s) | 54 | latest=$(date -d @`stat -c %X "$WAKEUP"` +%s) |
| 55 | # If sync time is older than wakeup time (timestamp in file), then return false | 55 | # If sync time is older than wakeup time (timestamp in file), then return false |
| 56 | if [ $latest -gt $(cat "$WAKEUP") ]; then | 56 | if [ $latest -gt "$(cat $WAKEUP)" ]; then |
| 57 | return 0 | 57 | return 0 |
| 58 | else | 58 | else |
| 59 | return 1 | 59 | return 1 |