iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
shellcheck, better automated upgrades
[distro-setup]
/
btrfsmaint
diff --git
a/btrfsmaint
b/btrfsmaint
index 22cd4c695e23e37d675e96ae1817740833a6294c..c410b7b3503359309ab6938f5c233f7193cd6a3e 100755
(executable)
--- a/
btrfsmaint
+++ b/
btrfsmaint
@@
-84,7
+84,7
@@
for x in $($fnd --output "SOURCE" --nofsroot | sort -u); do
# the wiki recommends 30 days or so, but
# it makes the comp lag like shit for a day,
# so I'm going with 90 days.
# the wiki recommends 30 days or so, but
# it makes the comp lag like shit for a day,
# so I'm going with 90 days.
- if ((
$date > `date +%s`
- 60*60*24*30 )); then
+ if ((
date > $(date +%s)
- 60*60*24*30 )); then
echo "cron: skiping scrub of $mnt"
continue
fi
echo "cron: skiping scrub of $mnt"
continue
fi