--- projects/cms/source/ihost/ihost.c 2004/01/05 16:48:55 1.46 +++ projects/cms/source/ihost/ihost.c 2004/01/07 11:37:10 1.48 @@ -741,7 +741,7 @@ int main(int argc, char **argv){ ihost_state.file_list=NULL; ihost_state.last_modified=NULL; - while((cmdopt=getopt(argc, argv, "vfhVs:i:")) != -1){ + while((cmdopt=getopt(argc, argv, "vfVn:i:s:p:h")) != -1){ switch(cmdopt){ case 'v': ihost_config.verbose++; @@ -827,7 +827,7 @@ int main(int argc, char **argv){ log_msg(LOG_INFO, "Starting ihost..."); log_msg(LOG_DEBUG, "Running statgrab_init()"); - if(!statgrab_init()){ + if(statgrab_init()){ log_msg(LOG_CRIT, "statgrab_init failed (%m)"); exit(1); }