From 2a4582e4ffb4427cfc30fe310d51051235501965 Mon Sep 17 00:00:00 2001 From: Alexandre Bard Date: Tue, 16 Apr 2019 14:19:19 +0200 Subject: [PATCH] mount-overlay: Use a proper exit code in all cases --- recipes-extended/mount-overlay/mount-overlay/mount-overlay.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-extended/mount-overlay/mount-overlay/mount-overlay.sh b/recipes-extended/mount-overlay/mount-overlay/mount-overlay.sh index 72d1dd7..d8b574e 100644 --- a/recipes-extended/mount-overlay/mount-overlay/mount-overlay.sh +++ b/recipes-extended/mount-overlay/mount-overlay/mount-overlay.sh @@ -2,4 +2,4 @@ chattr -i / ; [[ -e /etc/nmhw-auto-part/data-partition ]] && mkdir -p data && mount $(cat /etc/nmhw-auto-part/data-partition) /data && \ [[ -e /etc/nmhw-auto-part/overlay ]] && mount -t overlay -o lowerdir=/usr,upperdir=/data/overlay,workdir=/data/.work overlay /usr - +exit 0