summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xenodm/dm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xenodm/dm.c b/xenodm/dm.c
index 18d1227..1eaa0e9 100644
--- a/xenodm/dm.c
+++ b/xenodm/dm.c
@@ -135,8 +135,7 @@ main (int argc, char **argv)
}
Debug ("Nothing left to do, exiting\n");
LogInfo ("Exiting\n");
- exit(0);
- /*NOTREACHED*/
+ return 0;
}
/* ARGSUSED */