Skip to content

Commit

Permalink
Merge pull request #33 from Kr1ss-XD/master
Browse files Browse the repository at this point in the history
[zram-init.in] fix opening brace in variable ref.
  • Loading branch information
vaeth authored Feb 27, 2021
2 parents 24949d8 + 08417dc commit 747adf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sbin/zram-init.in
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ else [ -z "$streams" ] || SysCtl "$streams" "$block/max_comp_streams" \
}
! $writeback || InitWriteback
fi
[ -z "$mem_limit" ] || SysCtl "$[mem_limit}M" "$block/mem_limit" || \
[ -z "$mem_limit" ] || SysCtl "${mem_limit}M" "$block/mem_limit" || \
xWarning 'failed to set zram${dev} mem_limit'

eval "set -- a $mkfs_opt"
Expand Down

0 comments on commit 747adf9

Please sign in to comment.