roles: bootstrap-host: Remove useless 'break' command from case statement

'break' is pointless in a case statement. This fixes the following
warning:

"break: only meaningful in a `for', `while', or `until' loop"

Change-Id: I61a2a819881b8d8d317a81d3228f40c261a1d350
This commit is contained in:
Markos Chandras 2017-09-02 12:51:15 +01:00 committed by Markos Chandras (hwoarang)
parent cc211d91fa
commit d32bb257cb
2 changed files with 4 additions and 4 deletions

View File

@ -16,8 +16,8 @@
source /etc/os-release || source /usr/lib/os-release
case "${ID}" in
*suse*) INTERFACE="${1}"; break ;;
centos|rhel|fedora) INTERFACE="${DEVICE}"; break ;;
*suse*) INTERFACE="${1}"; ;;
centos|rhel|fedora) INTERFACE="${DEVICE}"; ;;
*) echo "Unsupported distribution ${ID}"; exit 1;
esac

View File

@ -16,8 +16,8 @@
source /etc/os-release || source /usr/lib/os-release
case "${ID}" in
*suse*) INTERFACE="${1}"; break ;;
centos|rhel|fedora) INTERFACE="${DEVICE}"; break ;;
*suse*) INTERFACE="${1}"; ;;
centos|rhel|fedora) INTERFACE="${DEVICE}"; ;;
*) echo "Unsupported distribution ${ID}"; exit 1;
esac