Skip to content

Commit

Permalink
svc/zram.initd: minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tokiclover committed Oct 12, 2014
1 parent d22a440 commit 968ae1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion svc/zram.initd
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ start()
ret=$?
eend "$ret" "failed to formate zram$num to $fsys"

if test $ret -eq 0 -a -n "$mtpt"; then
if test "$ret" = 0 -a -n "$mtpt"; then
[ -d "$mtpt" ] || mkdir -p $mtpt
mount -t $fsys ${mopt:+-o $mopt} /dev/zram$num $mtpt
eend "$?" "failed to mount /dev/zram$num to $mtpt"
Expand Down

0 comments on commit 968ae1b

Please sign in to comment.