aboutsummaryrefslogtreecommitdiffstats
path: root/snapshot
diff options
context:
space:
mode:
Diffstat (limited to 'snapshot')
-rwxr-xr-xsnapshot4
1 files changed, 2 insertions, 2 deletions
diff --git a/snapshot b/snapshot
index e22a73f..e2723a7 100755
--- a/snapshot
+++ b/snapshot
@@ -5,8 +5,8 @@ create_snapshot() {
local to="$2"/"$(date +%Y-%m-%dT%H:%M:%S%z)"
sudo mkdir "$to"
sudo btrfs subvolume snapshot -r "$from" "$to" &&
- printf "==> Successfully created a snaphot of %s in %s\n" "$from" "$to" ||
- printf "==> Failet to create a snaphot of %s in %s\n" "$from" "$to"
+ printf "==> Successfully created a snapshot of %s in %s\n" "$from" "$to" ||
+ printf "==> Failed to create a snapshot of %s in %s\n" "$from" "$to"
}