summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lf/lfrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lf/lfrc b/lf/lfrc
index 702fc2d..19c6051 100644
--- a/lf/lfrc
+++ b/lf/lfrc
@@ -51,9 +51,9 @@ cmd chmod ${{
printf "Mode Bits: "
read ans
- for file in "$fx"
+ echo "$fx" | while read file
do
- chmod $ans $file
+ chmod "$ans" "$file"
done
}}