From 1a9bdcf6666113d29df413fa5a0fe1d9d208988b Mon Sep 17 00:00:00 2001 From: Arnie Date: Wed, 22 Aug 2018 08:51:46 +0200 Subject: [PATCH] Return values --- windows/install-docker-in-wsl.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/windows/install-docker-in-wsl.sh b/windows/install-docker-in-wsl.sh index fd18291..0fe214f 100755 --- a/windows/install-docker-in-wsl.sh +++ b/windows/install-docker-in-wsl.sh @@ -235,8 +235,11 @@ root = / options = "metadata" EOF + [[ $? -ne 0 ]] && return 137 + echo "Please restart your computer, after the restart the volumes will be mounted in /c/, /d/, etc. instead of /mnt/c/, /mnt/d/..." + return 0 } initialize() {