summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-02-27 17:51:25 -0500
committerJune McEnroe <june@causal.agency>2018-02-27 17:51:25 -0500
commit130152d94496a614bf7c453669243ddb5a99c4b7 (patch)
treea575f62859e43f2a3ecd890bbb19b5bfa50fa1bb
parentCheck revents with & (diff)
downloadsrc-130152d94496a614bf7c453669243ddb5a99c4b7.tar.gz
src-130152d94496a614bf7c453669243ddb5a99c4b7.zip
Print message in gfx/none
-rw-r--r--bin/gfx/none.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/gfx/none.c b/bin/gfx/none.c
index f9ce12ff..e5d53a9b 100644
--- a/bin/gfx/none.c
+++ b/bin/gfx/none.c
@@ -14,10 +14,11 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <err.h>
 #include <sysexits.h>
 
 #include "gfx.h"
 
 int main() {
-    return EX_CONFIG;
+    errx(EX_CONFIG, "no gfx frontend");
 }