+ if (!(run_mode & MODE_NOTIFY_ONLY)) {
+ /* Do not do pmap_unset() when running in notify mode.
+ * We may clear the portmapper record for a statd not
+ * running in notify mode disabling it.
+ * Juan C. Gomez j_carlos_gomez@yahoo.com
+ */
+ pmap_unset (SM_PROG, SM_VERS);
+ }