add warning if user is on a debug build

This commit is contained in:
Emily Daemon 2023-07-21 09:31:35 +03:00
parent 630133f77a
commit 51a1bf7f0e

View File

@ -71,6 +71,9 @@ int main(int argc, char **argv) {
printheader();
logprint(0, "Welcome to LibreShop!\n");
#ifdef DEBUG_H
logprint(2, "Warning! You are running a DEBUG build.\n");
#endif
logprint(0, "Initializing network.\n");
ret = if_config(localip, netmask, gateway, TRUE, 20);