summaryrefslogtreecommitdiff
path: root/examples/xsh.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/xsh.c')
-rw-r--r--examples/xsh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/xsh.c b/examples/xsh.c
index e25531bb..08b4af11 100644
--- a/examples/xsh.c
+++ b/examples/xsh.c
@@ -173,5 +173,5 @@ int main(int argc, char **argv)
pamh = NULL;
bail_out(pamh,1,retcode,"pam_end");
- exit(0);
+ return (0);
}