install_osm: proper exit when uninstalling 89/5889/1 v3.0.3
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 20 Mar 2018 01:09:44 +0000 (02:09 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 20 Mar 2018 01:09:44 +0000 (02:09 +0100)
Change-Id: I7b4db225ca0bdc9e0207b0dc391aaaadc8764495
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
installers/install_osm.sh

index 7175793..a599aa7 100755 (executable)
@@ -58,6 +58,7 @@ function uninstall(){
     lxc image show osm-ro &>/dev/null && lxc image delete osm-ro
     lxc image show osm-vca &>/dev/null && lxc image delete osm-vca
     lxc image show osm-soui &>/dev/null && lxc image delete osm-soui
+    return 0
 }
 
 #Configure NAT rules, based on the current IP addresses of containers