From: Felix Fietkau Date: Tue, 14 Nov 2023 11:30:59 +0000 (+0100) Subject: udebug-cli: cosmetic fix X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=615bf58b4ede7bb99ba6bd3cf2e75d9c1247ff8f;p=project%2Fudebug.git udebug-cli: cosmetic fix Signed-off-by: Felix Fietkau --- diff --git a/udebug-cli b/udebug-cli index 9c4279d..0fbf3a0 100755 --- a/udebug-cli +++ b/udebug-cli @@ -46,7 +46,7 @@ while (substr(ARGV[0], 0, 1) == "-") { let opt = substr(shift(ARGV), 1); switch(opt) { case 'd': - opts.duration = 1.0 * shift(ARGV); + opts.duration = +shift(ARGV); break; case 's': opts.socket = shift(ARGV);