summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ls.c b/src/ls.c
index 4aeeb08f6..4dd6e6438 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -2075,7 +2075,7 @@ quote_filename (p, quoted_length)
break;
}
- if (!found_quotable)
+ if (!found_quotable && !quote_as_string)
{
*quoted_length = p - p0;
return NULL;