Replaced exit -> return as using exit in sourced script causes exit of running shell and shutting down terminal window.
Signed-off-by: Ed Bartosh <[email protected]> --- bin/toaster | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/toaster b/bin/toaster index 2fc4e750..badb2c1 100755 --- a/bin/toaster +++ b/bin/toaster @@ -175,7 +175,7 @@ if [ "$TOASTER_CONF" = "" ]; then fi if [ ! -f $TOASTER_CONF ]; then echo "$TOASTER_CONF configuration file not found, exiting..." - exit 1; + return 1; fi # this defines the dir toaster will use for # 1) clones of layers (in _toaster_clones ) -- 2.1.4 -- _______________________________________________ toaster mailing list [email protected] https://lists.yoctoproject.org/listinfo/toaster
