summary refs log tree commit diff
path: root/util.c
diff options
context:
space:
mode:
authorokan <okan>2011-07-25 15:10:24 +0000
committerokan <okan>2011-07-25 15:10:24 +0000
commitf51f3cb9c2b39f728f2708d7ab798ecaf1cebaf0 (patch)
tree1fc947a7565944bf2613155ca188c7fda3cbff3c /util.c
parent69ac0624cc07ffc8df11287a8827b42773371b0e (diff)
downloadcwm-f51f3cb9c2b39f728f2708d7ab798ecaf1cebaf0.tar.gz
cwm-f51f3cb9c2b39f728f2708d7ab798ecaf1cebaf0.tar.xz
cwm-f51f3cb9c2b39f728f2708d7ab798ecaf1cebaf0.zip
We are inconsistent when it comes to function returns, so just go all
the way with the cwm specific parts.

ok oga@
Diffstat (limited to 'util.c')
-rw-r--r--util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.c b/util.c
index b8ea87f..54faaea 100644
--- a/util.c
+++ b/util.c
@@ -76,6 +76,6 @@ u_exec(char *argstr)
 	}
 
 	*ap = NULL;
-	setsid();
-	execvp(args[0], args);
+	(void)setsid();
+	(void)execvp(args[0], args);
 }