From 6033c3cb18bbb5853f15e51c5350547528939c94 Mon Sep 17 00:00:00 2001 From: fbt Date: Mon, 8 Jan 2018 02:47:28 +0300 Subject: [PATCH] Do not forget about exit codes, grr Signed-off-by: fbt --- services/mount | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/mount b/services/mount index f6cac07..171c245 100755 --- a/services/mount +++ b/services/mount @@ -4,7 +4,9 @@ service_type='oneshot' service_command=( /usr/bin/mount -a ) pre_start() { - [[ -w / ]] || { mount -o remount,rw /; } + if [[ -w / ]]; then + mount -o remount,rw / + fi } post_start() {