projects
/
project
/
unetd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e966627
)
unet-cli: fix reference to missing variable
author
Felix Fietkau
<nbd@nbd.name>
Thu, 25 Aug 2022 10:38:32 +0000
(12:38 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Thu, 25 Aug 2022 10:41:29 +0000
(12:41 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
scripts/unet-cli
patch
|
blob
|
history
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();