aboutsummaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
authorokan2017-12-29 20:09:19 +0000
committerokan2017-12-29 20:09:19 +0000
commit66e813b88b55b581af1760e299ee30cde70343d1 (patch)
tree5fc85b1d7efa2b597116bbcaa0e47ca99d780157 /util.c
parent9c7e3d61414a846c6b85d62f76177a30a255423a (diff)
downloadcwm-66e813b88b55b581af1760e299ee30cde70343d1.tar.gz
If the replacement window manager fails to start, restart the fallback (the
original invocation of cwm).
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 e74797e..174a542 100644
--- a/util.c
+++ b/util.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: util.c,v 1.18 2015/09/16 17:58:25 okan Exp $
+ * $OpenBSD: util.c,v 1.19 2017/12/29 20:09:19 okan Exp $
*/
#include <sys/types.h>
@@ -78,7 +78,7 @@ u_exec(char *argstr)
(void)setsid();
(void)execvp(args[0], args);
- err(1, "%s", s);
+ warn("%s", s);
}
char *