projects
/
project
/
unetd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
unet-cli: fix reference to missing variable
[project/unetd.git]
/
scripts
/
unet-cli
diff --git
a/scripts/unet-cli
b/scripts/unet-cli
index c10b54254637df8b1fc6b4cbcede5a6d2e26d4d4..2353213f8e6b2bbf8dd1b7c3d3eee573e938b120 100755
(executable)
--- a/
scripts/unet-cli
+++ b/
scripts/unet-cli
@@
-274,7
+274,7
@@
function sync_ssh_host(host) {
fh2.seek();
while (line = fh2.read("line")) {
let vals = match(line, /^(.[[:alnum:]_-]*)=(.*)\n$/);
- assert(vals, `Invalid argument: ${
arg
}`);
+ assert(vals, `Invalid argument: ${
line
}`);
data[vals[1]] = vals[2]
}
fh2.close();