diff options
| author | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2025-05-20 21:13:05 +0500 |
|---|---|---|
| committer | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2025-05-20 21:15:07 +0500 |
| commit | 1636b2b3a9511b041ad484e10038a70a68f2d2d4 (patch) | |
| tree | 3e760b652734b36bf1ff73eba1cfb3c51ec374b2 /units/ib_file.zsh | |
| parent | 6cd9f724e08e81257ed82501ef0de3425ea623a0 (diff) | |
bot: Use zsh/stat instead of busybox stat
Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
Diffstat (limited to 'units/ib_file.zsh')
| -rw-r--r-- | units/ib_file.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/units/ib_file.zsh b/units/ib_file.zsh index e561a24..d7f6bb8 100644 --- a/units/ib_file.zsh +++ b/units/ib_file.zsh @@ -13,7 +13,7 @@ dump=(${dump[@]} ${ib_file##*/}) if [[ -f "${ib_file}" && "${caching_mode}" != "none" ]] then ib_ctime=$(strftime %s) - ib_mtime=$(stat -c %Y "${ib_file}") + ib_mtime=$(stat +mtime "${ib_file}") if [[ $((ib_ctime - ib_mtime)) -le $((caching_time - 15)) ]] then |
