Skip to content

Commit

Permalink
Make typeN=- work, see #38.
Browse files Browse the repository at this point in the history
  • Loading branch information
vaeth committed Jan 13, 2022
1 parent 289dd9d commit ca2f791
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Initial author and current maintainer:
Martin Väth <martin at mvath.de>

Contributions by (alphabetical order):
allixx (https://github.com/allixx) (report w/ fix suggestion)
Pablo Cholaky <waltercool at slash.cl>
Guillaume Delvit (https://github.com/guiguid) (Arch documentation)
Sven Eden <sven.eden at gmx.de>
Expand Down
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# ChangeLog for zram-init:

*zram-init-11.1:
Martin Väth <martin at mvath.de>:
- Make typeN=- work, see https://github.com/vaeth/zram-init/issues/38.
Thanks to https://github.com/allixx for the report and fix.

*zram-init-11.0:
Martin Väth <martin at mvath.de>:
- Check only for an absolute path name, not for directory presence, see
Expand Down
2 changes: 1 addition & 1 deletion openrc/init.d/zram-init
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ ZramIgnore() {
notr=\${notr$1-}
args=\${args$1-}"
case $fstype in
swap|/*)
'-'|swap|/*)
! [ "$size" -gt 0 ];;
esac
}
Expand Down

0 comments on commit ca2f791

Please sign in to comment.