diff --git a/README.md b/README.md index a9fc38f..00cd4d3 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ ___ ## Changelog -- **v0.7.3**: Bugfix - unquoted variable in printf list caused occasional issues. +- **v0.7.3**: Bugfix - unquoted variable in printf list caused occasional issues. - **v0.7.2**: - Label rework: - Moved up label logic to work globally on the current run. @@ -72,6 +72,7 @@ Options: -n No updates, only checking availability. -p Auto-Prune dangling images after update. -r Allow checking for updates/updating images for docker run containers. Won't update the container. +-R Skip container recreation after pulling images. -s Include stopped containers in the check. (Logic: docker ps -a). -t N Set a timeout (in seconds) per container for registry checkups, 10 is default. -u Allow automatic self updates - caution as this will pull new code and autorun it. @@ -353,7 +354,7 @@ dockcheck is created and released under the [GNU GPL v3.0](https://www.gnu.org/l :small_orange_diamond: [4ndreasH](https://github.com/4ndreasH) :small_orange_diamond: [markoe01](https://github.com/markoe01) :small_orange_diamond: [mushrowan](https://github.com/mushrowan) -:small_orange_diamond: +:small_orange_diamond: ___ diff --git a/dockcheck.sh b/dockcheck.sh index 98ca6db..9982ec7 100755 --- a/dockcheck.sh +++ b/dockcheck.sh @@ -558,9 +558,9 @@ if [[ -n "${GotUpdates:-}" ]]; then docker pull "$ContImage" || { printf "\n%bDocker error, exiting!%b\n" "$c_red" "$c_reset" ; exit 1; } done printf "\n%bDone pulling updates.%b \n" "$c_green" "$c_reset" - + if [[ "$SkipRecreate" == true ]]; then - printf "\n%bSkipping container recreation due to -R. \n%bAll done!%b\n" "$c_yellow" "$c_green" "$c_reset" + printf "%bSkipping container recreation due to -R. \n" "$c_yellow" "$c_reset" else printf "%bRecreating updated containers.%b\n" "$c_blue" "$c_reset" CurrentQue=0