Update btrfs backups
This commit is contained in:
parent
17b252413a
commit
5dbf3e9602
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ if [ -z "$SOURCE_PATH" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Convert subvolume path to snapshot path
|
# Convert subvolume path to snapshot path
|
||||||
SNAPSHOT_PATH="$SOURCE_PATH.snapshots"
|
SNAPSHOT_PATH="$SOURCE_PATH/.snapshots"
|
||||||
if [ ! -d "$SNAPSHOT_PATH" ]; then
|
if [ ! -d "$SNAPSHOT_PATH" ]; then
|
||||||
echo "ERROR: Snapshot directory '$SNAPSHOT_PATH' does not exist"
|
echo "ERROR: Snapshot directory '$SNAPSHOT_PATH' does not exist"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue