Use the common routine from userdir_ldap.py which asks for the
[mirror/userdir-ldap.git] / ud-replicate
index 2f7c3ec..3f3921f 100755 (executable)
@@ -1,7 +1,7 @@
 #! /bin/sh
 
-#   Copyright (c) 1999-2001  Jason Gunthorpe <jgg@infodrom.org>
-#   Copyright (c) 2002-2003  Ryan Murray <rmurray@infodrom.org>
+#   Copyright (c) 1999-2001  Jason Gunthorpe <jgg@debian.org>
+#   Copyright (c) 2002-2003  Ryan Murray <rmurray@debian.org>
 #   Copyright (c) 2004  Joey Schulze <joey@infodrom.org>
 #
 #   This program is free software; you can redistribute it and/or modify
@@ -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