summaryrefslogtreecommitdiff
path: root/contrib/sendmail/smrsh/smrsh.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/sendmail/smrsh/smrsh.c')
-rw-r--r--contrib/sendmail/smrsh/smrsh.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/sendmail/smrsh/smrsh.c b/contrib/sendmail/smrsh/smrsh.c
index 71bcb2c82141..e21fee4ce670 100644
--- a/contrib/sendmail/smrsh/smrsh.c
+++ b/contrib/sendmail/smrsh/smrsh.c
@@ -21,7 +21,7 @@ static char copyright[] =
#endif /* ! lint */
#ifndef lint
-static char id[] = "@(#)$Id: smrsh.c,v 8.31.4.8 2001/01/22 19:00:26 gshapiro Exp $";
+static char id[] = "@(#)$Id: smrsh.c,v 8.31.4.9 2001/04/24 04:11:51 ca Exp $";
#endif /* ! lint */
/*
@@ -173,7 +173,6 @@ main(argc, argv)
*/
prg = argv[0];
- par = argv[2];
if (argc != 3 || strcmp(argv[1], "-c") != 0)
{
@@ -184,6 +183,8 @@ main(argc, argv)
exit(EX_USAGE);
}
+ par = argv[2];
+
/*
** Disallow special shell syntax. This is overly restrictive,
** but it should shut down all attacks.