Fix tools/cleanup-images script error

When cleanup-images is launch without parameters the following error is
triggered:
./cleanup-images: line 72: break: only meaningful in a `for', `while',
or `until' loop

This patch fix it.

Change-Id: Ie8c63420a4e9b0d49a4e6be4172c8f0be912b556
Closes-Bug: #1702496
This commit is contained in:
Bertrand Lallau 2017-07-05 16:43:26 +02:00 committed by Bertrand Lallau
parent f5d06eb9c1
commit f5624b21f9

View File

@ -68,8 +68,9 @@ case "$1" in
;; ;;
(--) (--)
shift echo -e "Error: no argument passed\n"
break usage
exit 0
;; ;;
esac esac