summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/skel/dot.login2
-rw-r--r--share/skel/dot.profile2
2 files changed, 2 insertions, 2 deletions
diff --git a/share/skel/dot.login b/share/skel/dot.login
index 894021a..b8688f9 100644
--- a/share/skel/dot.login
+++ b/share/skel/dot.login
@@ -5,4 +5,4 @@
# see also csh(1), environ(7).
#
-[ -x /usr/games/fortune ] && /usr/games/fortune freebsd-tips
+if ( -x /usr/games/fortune ) /usr/games/fortune freebsd-tips
diff --git a/share/skel/dot.profile b/share/skel/dot.profile
index 2e1ca0c..3a8bd3e 100644
--- a/share/skel/dot.profile
+++ b/share/skel/dot.profile
@@ -21,4 +21,4 @@ PAGER=more; export PAGER
# set ENV to a file invoked each time sh is started for interactive use.
ENV=$HOME/.shrc; export ENV
-[ -x /usr/games/fortune ] && /usr/games/fortune freebsd-tips
+if [ -x /usr/games/fortune ] ; then /usr/games/fortune freebsd-tips ; fi
OpenPOWER on IntegriCloud