diff --git a/toys/example/logpath.c b/toys/example/logpath.c index 84fb712a..06af5c29 100644 --- a/toys/example/logpath.c +++ b/toys/example/logpath.c @@ -2,13 +2,14 @@ * * Copyright 2019 Rob Landley * - * I made it up. Must be built standalone to work. (Is its own multiplexer.) + * Must be built standalone to work. (Is its own multiplexer.) USE_LOGPATH(NEWTOY(logpath, 0, TOYFLAG_NOHELP|TOYFLAG_USR|TOYFLAG_BIN)) config LOGPATH bool "logpath" default n + depends on !TOYBOX help usage: logpath ... @@ -19,10 +20,6 @@ config LOGPATH #define FOR_logpath #include "toys.h" -#if CFG_TOYBOX -#warning Must be built standalone to work. -#endif - void logpath_main(void) { char *log = getenv("LOGPATH"), *omnom = basename(*toys.argv), *s, *ss, *sss;