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