From eac233b5cf48893398a13e019b1411b0ef7e87f6 Mon Sep 17 00:00:00 2001 From: Roger Leigh Date: Thu, 16 Feb 2006 18:50:15 +0000 Subject: * 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. --- ChangeLog | 6 ++++++ schroot/sbuild-session.cc | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 15caf0b6..0a2397e1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-02-16 Roger Leigh + + * 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 * 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; } -- cgit v1.2.3