Fix method calls.

This commit is contained in:
Glenn Y. Rolland 2015-09-21 08:09:22 +02:00
parent d38949a744
commit 6cc8f7afc1

View file

@ -81,8 +81,8 @@ module Qasim
def action_trigger_map_item map, item def action_trigger_map_item map, item
@connect_error[map.path] = Set.new @connect_error[map.path] = Set.new
@connect_running[map.path] = 0 @connect_running[map.path] = 0
method = if map.connected? then :disconnect method = if map.mounted? then :umount
else :connect else :mount
end end
begin begin
@ -247,7 +247,7 @@ module Qasim
# #
# #
def run def run
Process.daemon(false) #FIXME: add foreground mode too #Process.daemon(false) #FIXME: add foreground mode too
lock_set lock_set
@app.exec @app.exec
exit 0 exit 0