]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
scripts/build-in-obs.sh: nitpick
authorTomas Krizek <tomas.krizek@nic.cz>
Mon, 7 Jan 2019 16:25:23 +0000 (17:25 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Thu, 10 Jan 2019 09:13:32 +0000 (09:13 +0000)
scripts/build-in-obs.sh

index 976d33664e470c190e65a5126097f6852ad390f0..7aea0d3d12ed6a46ddc93051066c92701c4bc5be 100755 (executable)
@@ -11,8 +11,10 @@ package=knot-resolver
 if ! [[ "$1" == *-devel || "$1" == *-testing ]]; then
        read -p "Pushing to '$project', are you sure? [y/N]: " yn
        case $yn in
-               [Yy]* ) break;;
-               * ) exit 1; break;;
+               [Yy]* )
+            ;;
+               * )
+            exit 1
        esac
 fi