From dac3ea8698b18ac0f5683eea267c509ae011c2b1 Mon Sep 17 00:00:00 2001 From: df Date: Wed, 4 Nov 2020 14:16:09 +0000 Subject: [PATCH] Remove unnecessary exec Jim supports the pwd command since at least https://github.com/msteveb/jimtcl/commit/6461e8bf6ddf82ee974b4c63458915490d74a5ce, so no need to exec it. --- webif/html/dedup/dedup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webif/html/dedup/dedup b/webif/html/dedup/dedup index 550a05a9..a8787857 100755 --- a/webif/html/dedup/dedup +++ b/webif/html/dedup/dedup @@ -19,7 +19,7 @@ foreach arg $argv { lappend dirs $arg } } -if {![llength $dirs]} { lappend dirs [exec pwd] } +if {![llength $dirs]} { lappend dirs [pwd] } foreach dir $dirs { if {[string index $dir end] eq "/"} {