From 28ba01ddd7c3e7649395fd708810f8e3d6c45332 Mon Sep 17 00:00:00 2001 From: Grigory Alexandrov Date: Tue, 16 Aug 2022 13:59:03 +0300 Subject: [PATCH] Fixed bug when down and reload --- stitchocker.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/stitchocker.sh b/stitchocker.sh index b416df1..03e7e83 100755 --- a/stitchocker.sh +++ b/stitchocker.sh @@ -11,7 +11,7 @@ function scr { local fn="stitchocker" - local version="0.0.14" + local version="1.0.0" local version_info="Stitchocker version $version" local help=" Usage: @@ -123,6 +123,9 @@ function scr scr_error "Command not specified" fi + if [[ $command == "down" ]]; then + $self -p $path stop $flags + fi if [[ $command == "reload" ]]; then $self -p $path down $flags