From b5acc3669d98d12415765bab62d7b94a87d6f3c5 Mon Sep 17 00:00:00 2001 From: tokiclover Date: Mon, 13 Oct 2014 09:28:46 +0200 Subject: [PATCH] svc/zram.initd: minor (mode) fix (previous *fix* was *only* cosmetic) --- svc/zram.initd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svc/zram.initd b/svc/zram.initd index bec434d..ff3e40f 100755 --- a/svc/zram.initd +++ b/svc/zram.initd @@ -41,7 +41,7 @@ start() [ -d "$mtpt" ] || mkdir -p $mtpt mount -t $fsys ${mopt:+-o $mopt} /dev/zram$num $mtpt eend "$?" "failed to mount /dev/zram$num to $mtpt" - [ -n "$mode" ] || chmod $mode $mtpt + [ -n "$mode" ] && chmod $mode $mtpt fi fi num=$(expr $num + 1)