Class: OsCtld::ContainerControl::Commands::Unmount::Frontend
- Defined in:
- lib/osctld/container_control/commands/unmount.rb
Instance Attribute Summary
Attributes inherited from Frontend
Instance Method Summary collapse
Methods inherited from Frontend
#exec_runner, #fork_runner, #initialize
Constructor Details
This class inherits a constructor from OsCtld::ContainerControl::Frontend
Instance Method Details
#execute(mountpoint) ⇒ true
12 13 14 15 |
# File 'lib/osctld/container_control/commands/unmount.rb', line 12 def execute(mountpoint) ret = exec_runner(args: [mountpoint]) ret.ok? || ret end |