diff options
Diffstat (limited to 'source4/lib/ldb')
-rwxr-xr-x | source4/lib/ldb/tests/test-controls.sh | 2 | ||||
-rw-r--r-- | source4/lib/ldb/tools/cmdline.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/source4/lib/ldb/tests/test-controls.sh b/source4/lib/ldb/tests/test-controls.sh index 868e8c2377..771085ec60 100755 --- a/source4/lib/ldb/tests/test-controls.sh +++ b/source4/lib/ldb/tests/test-controls.sh @@ -11,8 +11,6 @@ PATH=bin:$PATH export PATH rm -f $LDB_URL* -LDB_MODULES_PATH=`dirname $0`/../../../bin/modules/testldb -echo $LDB_MODULES_PATH echo "LDB_URL: $LDB_URL" cat <<EOF | $VALGRIND ldbadd || exit 1 diff --git a/source4/lib/ldb/tools/cmdline.c b/source4/lib/ldb/tools/cmdline.c index 0f60e8f31b..83de6ed456 100644 --- a/source4/lib/ldb/tools/cmdline.c +++ b/source4/lib/ldb/tools/cmdline.c @@ -318,8 +318,6 @@ struct ldb_cmdline *ldb_cmdline_process(struct ldb_context *ldb, if (options.modules_path != NULL) { ldb_set_modules_dir(ldb, options.modules_path); - } else if (getenv("LDB_MODULES_PATH") != NULL) { - ldb_set_modules_dir(ldb, getenv("LDB_MODULES_PATH")); } /* now connect to the ldb */ |