diff options
author | Zach Pfeffer <zach.pfeffer@linaro.org> | 2013-02-22 13:17:51 -0600 |
---|---|---|
committer | Zach Pfeffer <zach.pfeffer@linaro.org> | 2013-02-22 13:17:51 -0600 |
commit | b01e80f8830e672427a9beea8355867d154ca871 (patch) | |
tree | ccc466c12df342455b0c5f9ab000e14394bbd8e3 | |
parent | 53c23255f7e9ea428f363c9774e011c76e1106f5 (diff) | |
download | at-b01e80f8830e672427a9beea8355867d154ca871.tar.gz |
mountmmc: return on error, don't exit
Calling exit closes the terminal. This is annoying
Signed-off-by: Zach Pfeffer <zach.pfeffer@linaro.org>
-rw-r--r-- | tools.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -334,7 +334,7 @@ if you call this like ./mountmmc.sh 1 2 5 you will extract partitions 1, 2 and 5 function mountmmc() { if [ -d mmc ]; then echo mmc dir exists, exiting - exit + return fi mkdir mmc |