]> git.cameronkatri.com Git - bsdgames-darwin.git/commitdiff
While everyone's beating up on rot13 - use 'exec' to loose the shell
authorsimonb <simonb@NetBSD.org>
Mon, 24 Apr 2000 15:42:40 +0000 (15:42 +0000)
committersimonb <simonb@NetBSD.org>
Mon, 24 Apr 2000 15:42:40 +0000 (15:42 +0000)
process.

caesar/rot13.sh

index 15f1a1a4abf50abf896143391f276d3493ee660e..d00d385f2ddbce26d3849b8b79788278226a914b 100644 (file)
@@ -1,5 +1,5 @@
 #!/bin/sh -
-#      $NetBSD: rot13.sh,v 1.5 2000/04/24 15:37:32 perry Exp $
+#      $NetBSD: rot13.sh,v 1.6 2000/04/24 15:42:40 simonb Exp $
 #
 # Copyright (c) 1992, 1993
 #      The Regents of the University of California.  All rights reserved.
@@ -35,4 +35,4 @@
 #      @(#)rot13.sh    8.1 (Berkeley) 5/31/93
 #
 
-/usr/games/caesar 13 "$@"
+exec /usr/games/caesar 13 "$@"