From: joey <> Date: Fri, 19 Nov 2004 11:11:59 +0000 (+0000) Subject: The TERM variable is unset via cron, and SP1 is always unset except X-Git-Tag: debian_userdir-ldap_0-3-8~49 X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=commitdiff_plain;h=36e79a91a0b15f472fe89532d7ce30e71c078a18 The TERM variable is unset via cron, and SP1 is always unset except for login scripts... --- diff --git a/ud-replicate b/ud-replicate index 2f7c3ec..8d5a2b5 100755 --- a/ud-replicate +++ b/ud-replicate @@ -21,7 +21,7 @@ set -e # Without effect on the commandline -if [ -z "$PS1" -o "$TERM" = "dumb" ] +if [ -z "$TERM" -o "$TERM" = "dumb" ] then exec > /dev/null 2>&1 else