From fa3c7a27406e7c0a1c7b8688e330f14a766be1ba Mon Sep 17 00:00:00 2001 From: freddii Date: Thu, 21 Jan 2021 22:57:36 +0100 Subject: [PATCH] fixed typos --- README.md | 4 ++-- pishrink.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 43d07b8..9b79397 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ # PiShrink # PiShrink is a bash script that automatically shrink a pi image that will then resize to the max size of the SD card on boot. This will make putting the image back onto the SD card faster and the shrunk images will compress better. -In addition the shrinked image can be compressed with gzip and xz to create an even smaller image. Parallel compression of the image +In addition the shrunk image can be compressed with gzip and xz to create an even smaller image. Parallel compression of the image using multiple cores is supported. ## Usage ## @@ -24,7 +24,7 @@ If you specify the `newimagefile.img` parameter, the script will make a copy of * `-s` prevents automatic filesystem expansion on the images next boot * `-v` enables more verbose output -* `-r` will attempt to repair the filesystem using aditional options if the normal repair fails +* `-r` will attempt to repair the filesystem using additional options if the normal repair fails * `-z` will compress the image after shrinking using gzip. `.gz` extension will be added to the filename. * `-Z` will compress the image after shrinking using xz. `.xz` extension will be added to the filename. * `-a` will use option -f9 for pigz and option -T0 for xz and compress in parallel. diff --git a/pishrink.sh b/pishrink.sh index dbf6b09..79570b3 100755 --- a/pishrink.sh +++ b/pishrink.sh @@ -17,7 +17,7 @@ function info() { } function error() { - echo -n "$SCRIPTNAME: ERROR occured in line $1: " + echo -n "$SCRIPTNAME: ERROR occurred in line $1: " shift echo "$@" }