From 89c393b73d9e4c7fa1adaea4ed17047215bdb942 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Thu, 31 Aug 2006 11:06:15 +0000 Subject: Relevant BUGIDs: Purpose of commit: bugfix Commit summary: --------------- Fix some bugs on older distributions 2006-08-31 Thorsten Kukuk * modules/pam_namespace/Makefile.am: Don't install manual page if we don't build module. * m4/ld-as-needed.m4: Don't set LDFLAGS if check failed. * m4/ld-O1: Likewise. --- examples/xsh.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'examples') diff --git a/examples/xsh.c b/examples/xsh.c index 08b4af11..ef4dca0c 100644 --- a/examples/xsh.c +++ b/examples/xsh.c @@ -1,7 +1,3 @@ -/* - * $Id$ - */ - /* Andrew Morgan (morgan@kernel.org) -- an example application * that invokes a shell, based on blank.c */ @@ -143,7 +139,7 @@ int main(int argc, char **argv) (const char *)username); /* this is always a really bad thing for security! */ - system("/bin/sh"); + retcode = system("/bin/sh"); /* close a session for the user --- `0' could be PAM_SILENT * it is possible that this pam_close_call is in another program.. -- cgit v1.2.3