diff options
author | Roger Leigh <rleigh@debian.org> | 2008-01-20 17:31:07 +0000 |
---|---|---|
committer | Roger Leigh <rleigh@debian.org> | 2008-01-20 17:31:07 +0000 |
commit | ab9c25aa2f33b640674c751eb817eb6839ee1237 (patch) | |
tree | 144be8d807099968e0090dab5bc6d0b24f579ee7 /bin | |
parent | 3452d225d3f60c6350fb705fd948bb09fb8dba47 (diff) | |
download | schroot-ab9c25aa2f33b640674c751eb817eb6839ee1237.tar.gz |
* bin/schroot-mount/schroot-mount-main.cc: Mount messages go to
log_debug() rather than std::cout (which breaks session name
output to stdout).
Diffstat (limited to 'bin')
-rw-r--r-- | bin/schroot-mount/schroot-mount-main.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/schroot-mount/schroot-mount-main.cc b/bin/schroot-mount/schroot-mount-main.cc index ff994540..cc91f7c8 100644 --- a/bin/schroot-mount/schroot-mount-main.cc +++ b/bin/schroot-mount/schroot-mount-main.cc @@ -104,10 +104,11 @@ main::action_mount () std::string directory(opts->mountpoint + entry.directory); - std::cout << boost::format("Mounting '%1%' on '%2%'") + sbuild::log_debug(sbuild::DEBUG_INFO) + << boost::format("Mounting '%1%' on '%2%'") % entry.filesystem_name % directory - << std::endl; + << std::endl; if (!opts->dry_run) { |