When using zypper remove, include the -y option to avoid stack.sh from
hanging waiting for user confirmation. Due to output buffering, the
script could hang before giving the user the prompt to enter Y to
continue, making it unclear why the script was hanging.
Change-Id: I5ea761e5ae0829439953c385f8e7d0546acba886
Closes-Bug: 1642736
| ... | ... |
@@ -1318,7 +1318,7 @@ function uninstall_package {
|
| 1318 | 1318 |
elif is_fedora; then |
| 1319 | 1319 |
sudo ${YUM:-yum} remove -y "$@" ||:
|
| 1320 | 1320 |
elif is_suse; then |
| 1321 |
- sudo zypper rm "$@" ||: |
|
| 1321 |
+ sudo zypper remove -y "$@" ||: |
|
| 1322 | 1322 |
else |
| 1323 | 1323 |
exit_distro_not_supported "uninstalling packages" |
| 1324 | 1324 |
fi |