/* Mark that the sequence information has changed */
mp->msgflags |= SEQMOD;
+ /*
+ * Write out the sequence and context files; this will release
+ * any locks before the rmmproc is called.
+ */
+
+ seq_save (mp);
+ context_save ();
+
vec = argsplit(rmmproc, &prog, &vecp);
/*
fflush (stdout);
- switch (pid = vfork()) {
+ switch (pid = fork()) {
case -1:
advise ("fork", "unable to");
return -1;
/* Mark that the sequence information has changed */
mp->msgflags |= SEQMOD;
+ /*
+ * Write out sequence and context files
+ */
+
+ seq_save (mp);
+ context_save ();
+
return retval;
}