From 083c385e8016ac33b3f82c86c40a03e26ad48a3c Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Tue, 8 Sep 2015 12:25:37 +0200 Subject: snapshot: Fix sucess/failure message typoes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- snapshot | 4 ++-- 1 file 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" } -- cgit v1.2.3-70-g09d2