diff options
author | Roger Leigh <rleigh@debian.org> | 2006-02-16 18:50:15 +0000 |
---|---|---|
committer | Roger Leigh <rleigh@debian.org> | 2006-02-16 18:50:15 +0000 |
commit | eac233b5cf48893398a13e019b1411b0ef7e87f6 (patch) | |
tree | 3fb9aaa394e63d6f41ed42bf1d86e9d02cdf9e6c | |
parent | 50777b21e1c587fbd9a798aca6505ed3518f2e39 (diff) | |
download | schroot-eac233b5cf48893398a13e019b1411b0ef7e87f6.tar.gz |
* schroot/sbuild-session.cc (run_child): If it is not possible to
change into the correct directory inside the chroot, print a
warning rather than an error.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | schroot/sbuild-session.cc | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2006-02-16 Roger Leigh <rleigh@debian.org> + + * schroot/sbuild-session.cc (run_child): If it is not possible to + change into the correct directory inside the chroot, print a + warning rather than an error. + 2006-02-07 Roger Leigh <rleigh@debian.org> * debian/changelog: Bump version to 0.2.3. diff --git a/schroot/sbuild-session.cc b/schroot/sbuild-session.cc index 6595c38c..70b31972 100644 --- a/schroot/sbuild-session.cc +++ b/schroot/sbuild-session.cc @@ -649,7 +649,7 @@ session::run_child (sbuild::chroot::ptr& session_chroot) /* chdir to current directory */ if (chdir (cwd.c_str())) { - log_error() << format(_("warning: Could not chdir to '%1%': %2%")) + log_warning() << format(_("Could not chdir to '%1%': %2%")) % cwd % strerror(errno) << endl; } |