summaryrefslogtreecommitdiff
path: root/bin/dchroot
diff options
context:
space:
mode:
authorRoger Leigh <rleigh@debian.org>2010-08-28 12:32:38 +0100
committerRoger Leigh <rleigh@debian.org>2010-08-28 16:04:27 +0100
commitae9683c20c8ee32c2caf99aa2b9f7c369a485110 (patch)
treedbd47849a122e4a2164a48ead8fd4c672e0a8cd6 /bin/dchroot
parent4327b4e1bdfddbe8d472679a4ba1b8d0154b6661 (diff)
downloadschroot-ae9683c20c8ee32c2caf99aa2b9f7c369a485110.tar.gz
dchroot: dchroot.conf parser uses directory key
Use "directory" key in place of deprecated key "location"
Diffstat (limited to 'bin/dchroot')
-rw-r--r--bin/dchroot/dchroot-chroot-config.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dchroot/dchroot-chroot-config.cc b/bin/dchroot/dchroot-chroot-config.cc
index f37d97b0..81dddfae 100644
--- a/bin/dchroot/dchroot-chroot-config.cc
+++ b/bin/dchroot/dchroot-chroot-config.cc
@@ -127,7 +127,7 @@ chroot_config::parse_data (std::string const& chroot_namespace,
kconfig.set_value(chroot_name, "description", fmt, "", linecount);
if (lstart != std::string::npos)
- kconfig.set_value(chroot_name, "location", location, "", linecount);
+ kconfig.set_value(chroot_name, "directory", location, "", linecount);
if (pstart != std::string::npos)
kconfig.set_value(chroot_name, "personality", personality, "", linecount);