+ if (ctl_fd < 0) {
+ /* If no OSTs are mounted then the ofd module may not
+ * be loaded and hence the control device may not be
+ * present. Handle this in the same way that we handle
+ * no OSTs and exit_on_close below. */
+ if (errno == ENOENT && exit_on_close) {
+ DEBUG("no control device, exiting\n");
+ exit_status = EXIT_SUCCESS;
+ goto out;
+ }
+