aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/sync-backups
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-12-24 17:17:16 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-12-24 17:17:16 -0300
commitc3e26af4cefe5399dc896979c27a1f55c91b027c (patch)
treeb5fb83b3f76d48e340b2d9021c10ad28cfa2b5e8 /share/hydractl/sync-backups
parent6de47930b3e31849a33cfc40392379c1e396cf5a (diff)
downloadhydra-c3e26af4cefe5399dc896979c27a1f55c91b027c.tar.gz
hydra-c3e26af4cefe5399dc896979c27a1f55c91b027c.tar.bz2
Fix: hydractl: sync-backups/sync-media: minor improvements
Diffstat (limited to 'share/hydractl/sync-backups')
-rwxr-xr-xshare/hydractl/sync-backups4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/hydractl/sync-backups b/share/hydractl/sync-backups
index 9cc79de..63e11b4 100755
--- a/share/hydractl/sync-backups
+++ b/share/hydractl/sync-backups
@@ -84,13 +84,13 @@ fi
# Check volume name
if [ "$VOLUME" == "`hostname -f`" ]; then
- echo "volume is the hostname, cannot sync to myself"
+ echo "$BASENAME: volume is the hostname, cannot sync to myself"
exit 1
fi
# Check if it is mounted
if ! mount | grep -q $MEDIA; then
- echo "volume $MEDIA is not mounted"
+ echo "$BASENAME: volume $MEDIA is not mounted"
exit 1
fi