| commit | 17789a01dda7a44da907680e35f498c85cb5c898 | [log] [tgz] |
|---|---|---|
| author | Rafael J. Wysocki <rjw@sisk.pl> | Mon Nov 07 23:44:16 2011 +0100 |
| committer | Rafael J. Wysocki <rjw@sisk.pl> | Mon Nov 07 23:44:16 2011 +0100 |
| tree | 390a42777dfc18c44f39bb78d1d2e0c46579691a | |
| parent | b849076846dc264c9dd71daa7e3dcaf69c0301f8 [diff] |
s2disk: Do not fail hibernation withoug a VT console Currently, s2disk fails to hibernate if there is no VT console available to it, because it can't switch to a different VT in that case. However, switching VTs is not really essential and it should be safe to carry out hibernation using the current console for diagnostics. For this reason, modify s2disk to prevent it from failing when it can't use a VT console. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>