Fix method calls.
This commit is contained in:
parent
d38949a744
commit
6cc8f7afc1
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue