aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-09-08 12:25:37 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2015-09-08 12:29:28 +0200
commit083c385e8016ac33b3f82c86c40a03e26ad48a3c (patch)
tree1ba6c95e8f3d86e8b3607b44afe05398cd43bacd
parente267612dc5095a0aa37b8a7320d8ca071447fd5c (diff)
downloadbin-083c385e8016ac33b3f82c86c40a03e26ad48a3c.tar.xz
snapshot: Fix sucess/failure message typoes
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-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"
}