Branch: Tag:

2017-09-28

2017-09-28 13:38:06 by Henrik Grubbström (Grubba) <grubba@grubba.org>

create_configif: Some minor interface cleanup.

Fixes remainder of [WS-69].

188:    Stdio.write_file(configdir+"/server_version","server-"+server_version);    werror(" There is already an administration interface present in "    "this\n server. A new one will not be created.\n"); -  if(!admin++) exit( 0 ); +  if(!admin++) exit( 1 );    }    }; -  if(admin==1) +  if(admin==1) {    werror(" No administration interface was found. A new one will be created.\n"); -  +  admin = 0; +  }    if(configdir[-1] != '/')    configdir+="/";    if(admin)