Skip to content
Snippets Groups Projects
Commit f5624b21 authored by Bertrand Lallau's avatar Bertrand Lallau Committed by Bertrand Lallau
Browse files

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
parent f5d06eb9
No related branches found
No related tags found
No related merge requests found
...@@ -68,8 +68,9 @@ case "$1" in ...@@ -68,8 +68,9 @@ case "$1" in
;; ;;
(--) (--)
shift echo -e "Error: no argument passed\n"
break usage
exit 0
;; ;;
esac esac
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment