summaryrefslogtreecommitdiff
path: root/src/help.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/help.c')
-rw-r--r--src/help.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/help.c b/src/help.c
index ccbb704b0..1be86e69d 100644
--- a/src/help.c
+++ b/src/help.c
@@ -180,6 +180,7 @@ force_conflicts(struct deppossi *possi)
static const char *
preexecscript(struct command *cmd)
{
+ const char *admindir = dpkg_db_get_dir();
size_t instdirl = strlen(instdir);
if (*instdir) {