// Spectre 2 // // Douglas Thrift // // $Id$ #include "Unmounter.hpp" void Unmounter::operator()() { _L args(1, "-f"); #ifndef __FreeBSD__ args[0].InsertAllLast("l"); #endif args.InsertLast(share.getMount()); _S umount(Spectre2::umount, args); if (Spectre2::debug) ios::ReadToWrite(*umount.GetReader(), api::Cout); else ios::Discard(*umount.GetReader()); }