tags patch

--eric

--- util-linux-2.19.1/sys-utils/rtcwake.c	2011-05-02 11:10:08.000000000 +0200
+++ util-linux-2.19.new/sys-utils/rtcwake.c	2011-11-11 17:20:17.000000000 +0100
@@ -533,13 +533,14 @@
 		dryrun = 1;	/* to skip disabling alarm at the end */
 
 	} else if (strcmp(suspend, "off") == 0) {
-		char *arg[4];
+		char *arg[5];
 		int i = 0;
 
 		if (verbose)
 			printf(_("suspend mode: off; executing %s\n"),
 						_PATH_SHUTDOWN);
 		arg[i++] = _PATH_SHUTDOWN;
+		arg[i++] = "-h";
 		arg[i++] = "-P";
 		arg[i++] = "now";
 		arg[i]   = NULL;

Reply via email to