From: Sergey Matveev Date: Thu, 10 Dec 2020 15:49:26 +0000 (+0300) Subject: Do not try to rename folders X-Git-Url: http://www.git.stargrave.org/?p=torn.git;a=commitdiff_plain;h=ed78e9743f22a379609932ad6b575e04f3fb9bd8 Do not try to rename folders --- diff --git a/torn b/torn index 2fe88de..5582226 100755 --- a/torn +++ b/torn @@ -76,6 +76,7 @@ opendir DIR, "." or die "Can not open directory\n"; foreach (sort readdir DIR) { # Skip directory itself next if /^\.{1,2}$/; + next if -d; $src_filename = $_; $src = decode "utf-8", $src_filename;