--- freem/src/fmadm.c 2025/04/15 18:19:40 1.40 +++ freem/src/fmadm.c 2025/04/25 20:08:19 1.41 @@ -1,5 +1,5 @@ /* - * $Id: fmadm.c,v 1.40 2025/04/15 18:19:40 snw Exp $ + * $Id: fmadm.c,v 1.41 2025/04/25 20:08:19 snw Exp $ * FreeM Administration Tool * * @@ -24,6 +24,9 @@ * along with FreeM. If not, see . * * $Log: fmadm.c,v $ + * Revision 1.41 2025/04/25 20:08:19 snw + * Work on improving routine importer + * * Revision 1.40 2025/04/15 18:19:40 snw * Further attempts to fix FreeBSD * @@ -395,10 +398,10 @@ int main (int argc, char **argv) snprintf (env_config_file, sizeof (env_config_file) - 1, "%s/freem/env.conf", SYSCONFDIR); -/* - printf ("action = '%s' object = '%s' environment = '%s' namespace = '%s' config_file = '%s' base_arg = '%d' next argument = '%s'\n", action, obj_str, fma_environment, fma_namespace, config_file, base_arg, argv[base_arg]); - exit(1); -*/ + + //printf ("action = '%s' object = '%s' environment = '%s' namespace = '%s' config_file = '%s' base_arg = '%d' next argument = '%s'\n", action, obj_str, fma_environment, fma_namespace, config_file, base_arg, argv[base_arg]); + //exit(1); + strncpy (shm_env, fma_environment, sizeof (shm_env) - 1); init_log (); @@ -580,6 +583,7 @@ act_switch: case ACT_IMPORT: + //printf ("opts[0] = %s\n", opts[0]); fmadm_exit (fm_import (obj, optc, opts));