iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixes, logging, and better shellcheck conformance
[distro-setup]
/
check-subvol-stale
diff --git
a/check-subvol-stale
b/check-subvol-stale
index cb49379ea86a43cad3e11e1cd5f55a01573029ae..fbd31d6af4f3bbb9cbdcb8e7ff8597f064233955 100644
(file)
--- a/
check-subvol-stale
+++ b/
check-subvol-stale
@@
-77,9
+77,11
@@
stale-file() {
fi
}
+pre="check-subvol-stale:${SSH_CLIENT:+ $HOSTNAME:}"
+
d() {
if $verbose; then
- printf "%s\n" "$*"
+ printf "
$pre
%s\n" "$*"
fi
}