$OpenBSD: patch-src_dock_c,v 1.2 2010/05/20 10:58:08 espie Exp $ --- src/dock.c.orig Sat Oct 23 05:10:40 2004 +++ src/dock.c Thu May 20 12:50:56 2010 @@ -2977,7 +2977,7 @@ execCommand(WAppIcon *btn, char *command, WSavedState wtokensplit(cmdline, &argv, &argc); - if (argv==NULL) { + if (!argc) { if (cmdline) wfree(cmdline); if (state)