add simplest terminal

This commit is contained in:
2026-08-11 10:15:20 +03:00
parent e7b345b377
commit 25d35e2294
7 changed files with 65 additions and 15 deletions

View File

@@ -72,6 +72,10 @@ int start_daemon(){
#ifdef CLIENT
//DBG("server: %s", G.serverhost);
if(!G.serverhost) ERRX("Point server name");
if(G.terminal){
isrunning = TRUE;
return open_socket();
}
#endif
if(G.logfile){
int lvl = LOGLEVEL_WARN + G.verbose;