commit: 8949d5e429c658c169f1c2d8a10c1637b4c289f3
parent: 7691c3617b8239cf06a3c5bef724d591faeed3d2
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Mon, 1 Jul 2019 08:02:17 +0200
Sleep for 5 seconds if startup_cmd isn’t set
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/inaban.c b/inaban.c
@@ -808,6 +808,12 @@ main(int argc, char *argv[])
return 0;
}
+ if(startup_cmd == NULL)
+ {
+ printf("Are you sure you do not want to define startup_cmd? Sleeping for 5 seconds.\n");
+ sleep(5);
+ }
+
struct inaban_server server;
/* The Wayland display is managed by libwayland. It handles accepting
* clients from the Unix socket, manging Wayland globals, and so on. */