forked from DGNum/liminix
simplify assertion
This commit is contained in:
parent
ffe9603c39
commit
38ed91f641
1 changed files with 2 additions and 3 deletions
|
@ -34,9 +34,8 @@
|
||||||
(os.exit 0))))
|
(os.exit 0))))
|
||||||
|
|
||||||
(let [parameters
|
(let [parameters
|
||||||
(or
|
(assert (parse-args arg)
|
||||||
(parse-args arg)
|
(.. "Usage: " (. arg 0) " [-v] ifname [present|up|running]"))]
|
||||||
(assert false (.. "Usage: " (. arg 0) " [-v] ifname [present|up|running]")))]
|
|
||||||
(when parameters.verbose
|
(when parameters.verbose
|
||||||
(print (.. (. arg 0) ": waiting for "
|
(print (.. (. arg 0) ": waiting for "
|
||||||
parameters.link " to be " parameters.expecting)))
|
parameters.link " to be " parameters.expecting)))
|
||||||
|
|
Loading…
Reference in a new issue