Skip to content

Commit

Permalink
Merge pull request #9056 from spencerjanssen/resume-fix
Browse files Browse the repository at this point in the history
stage-1: fix typo that breaks resume
  • Loading branch information
edolstra committed Jul 30, 2015
2 parents 942e74b + 2a31397 commit 958de05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/system/boot/stage-1-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ if test -e /sys/power/resume -a -e /sys/power/disk; then
# https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/923326/comments/1
# when there are multiple swap devices, we can't know where the hibernate
# image will reside. We can check all of them for swsuspend blkid.
resumeInfo="$(test -e "$d" && udevadm info -q property "$sd")"
resumeInfo="$(test -e "$sd" && udevadm info -q property "$sd")"
if [ "$(echo "$resumeInfo" | sed -n 's/^ID_FS_TYPE=//p')" = "swsuspend" ]; then
resumeDev="$sd"
break
Expand Down

0 comments on commit 958de05

Please sign in to comment.