The TERM variable is unset via cron, and SP1 is always unset except
[mirror/userdir-ldap.git] / ud-replicate
index 2f7c3ec..8d5a2b5 100755 (executable)
@@ -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