From be1b26378ec96fe7a1b64fe8fcb87f9ae3d10fb2 Mon Sep 17 00:00:00 2001 From: HummyPkg Date: Sun, 12 Mar 2017 17:34:14 +0000 Subject: [PATCH] Expand \x sequences from lsof to UTF-8 --- webif/cgi-bin/status.jim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webif/cgi-bin/status.jim b/webif/cgi-bin/status.jim index 509ff17..9ea386b 100755 --- a/webif/cgi-bin/status.jim +++ b/webif/cgi-bin/status.jim @@ -83,7 +83,7 @@ proc get_data {} { regsub -- { \([^\)]+\)$} $line "" line set ext [file extension $line] if {$ext ni $exts} continue - set file [string range $line 1 end] + set file [subst [string range $line 1 end]] # Skip HD-Fox TSR buffer if {$file eq "/media/drive1/.tsr/0.ts"} { continue