diff options
author | Jonas Smedegaard <dr@jones.dk> | 2008-09-15 23:25:37 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2008-09-15 23:25:37 +0200 |
commit | 66e89aa383d8c48973355da9b0c5d1b6e1295906 (patch) | |
tree | 433bba7c90679da815e2b556e3fe2d78e5af82c2 | |
parent | bb5d674c5ac29e8a6e24419bfa5c939c538c809d (diff) |
Fix redirect error msg to stderr.
-rwxr-xr-x | ldap/mkldapdb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldap/mkldapdb b/ldap/mkldapdb index 374e4cd..cade398 100755 --- a/ldap/mkldapdb +++ b/ldap/mkldapdb @@ -19,7 +19,7 @@ fi for var in basedn dnsdomain orgname backend; do if [ -z "`eval echo '$'$var`" ]; then - echo 2> "ERROR: Required variable '$var' missing. Exiting...!" + echo 1>&2 "ERROR: Required variable '$var' missing. Exiting...!" exit 1 fi done |