From de36e6ec2fe85d353a9c18110316530f4054e207 Mon Sep 17 00:00:00 2001 From: oga Date: Wed, 20 Feb 2008 13:00:18 +0000 Subject: add exec_wm to calmwm.h, it was missing (bad ian@!) Also, exec_wm() currenty err()s out if something failed with the exec, killing the currently running wm. This is bad. Replace the err() with warn() instead. from Gleydson Soares, thanks! --- util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util.c') diff --git a/util.c b/util.c index c7f5ea8..792129d 100644 --- a/util.c +++ b/util.c @@ -62,7 +62,7 @@ exec_wm(char *argstr) *ap = NULL; setsid(); execvp(args[0], args); - err(1, args[0]); + warn(args[0]); } int dirent_isdir(char *filename) { -- cgit 1.4.1