Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/skel only try to run /usr/games/fortune if it is executa...



details:   https://anonhg.NetBSD.org/src/rev/4e2f4bdc8439
branches:  trunk
changeset: 533714:4e2f4bdc8439
user:      grant <grant%NetBSD.org@localhost>
date:      Mon Jul 08 02:54:58 2002 +0000

description:
only try to run /usr/games/fortune if it is executable.

diffstat:

 etc/skel/dot.login |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (15 lines):

diff -r 62b37e44dec3 -r 4e2f4bdc8439 etc/skel/dot.login
--- a/etc/skel/dot.login        Mon Jul 08 02:34:20 2002 +0000
+++ b/etc/skel/dot.login        Mon Jul 08 02:54:58 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: dot.login,v 1.1 2000/10/16 13:12:26 simonb Exp $
+#      $NetBSD: dot.login,v 1.2 2002/07/08 02:54:58 grant Exp $
 #csh .login file
 
 if ( ! $?SHELL ) then
@@ -10,4 +10,4 @@
 unset noglob
 stty status '^T' crt -tostop
 
-/usr/games/fortune
+if ( -x /usr/games/fortune ) /usr/games/fortune



Home | Main Index | Thread Index | Old Index