[Pkg-wmaker-commits] [wmshutdown] 03/173: wmShutdown.c: restore original

Doug Torrance dtorrance-guest at moszumanska.debian.org
Tue Aug 25 02:46:15 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmshutdown.

commit 47bb35cfbfe4c5f852f35d4aa1cb63871e5537b0
Author: Jari Aalto <jari.aalto at cante.net>
Date:   Sat Dec 5 14:18:18 2009 +0200

    wmShutdown.c: restore original
---
 wmShutdown.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/wmShutdown.c b/wmShutdown.c
index a94ebe0..7f7e14e 100644
--- a/wmShutdown.c
+++ b/wmShutdown.c
@@ -57,7 +57,7 @@ int desliga(void) {
 	FILE *output;
 	char *teste;
 
-	output = popen("/usr/bin/Shutdown -h", "r");
+	output = popen("/usr/local/bin/Shutdown -h", "r");
 	teste = (char*) fgetc(output);
 	while ((int)teste != EOF) {
 		g_print("%c", teste);
@@ -70,7 +70,7 @@ int reinicia(void) {
 	FILE *output;
 	char *teste;
 
-	output = popen("/usr/bin/Shutdown -r", "r");
+	output = popen("/usr/local/bin/Shutdown -r", "r");
 	teste = (char*) fgetc(output);
 	while ((int)teste != EOF) {
 		g_print("%c", teste);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmshutdown.git



More information about the Pkg-wmaker-commits mailing list