Commit 184070ac authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(obtain_lock): Search for locksuite.py in $srcdir.

(lyskomd_start): Removed unused global declaration of srcdir.
(lyskomd_fail_start): Ditto.
(client_death): Ditto.
parent e87db9fd
......@@ -89,11 +89,12 @@ proc obtain_lock {} {
global spawn_id
global lock_id
global any
global srcdir
if {$lock_count == 0} {
set redo 1
while {$redo} {
spawn python locksuite.py
spawn python $srcdir/locksuite.py
set lock_id $spawn_id
expect {
-re "^locking...$nl" {
......@@ -455,7 +456,6 @@ proc lyskomd_start {{aux_item_conf_file ""} \
global timeout
global expect_active
global expect_always
global srcdir
global clientport
global aux_item_default_conf_file
global lyskomd_pid
......@@ -593,7 +593,6 @@ proc lyskomd_fail_start {log_messages
global timeout
global expect_active
global expect_always
global srcdir
global clientport
global aux_item_default_conf_file
global lyskomd_pid
......@@ -1061,7 +1060,6 @@ proc client_death {nr} {
global nl
global expect_always
global expect_active
global srcdir
global deep_any
talk_to client $nr
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment