diff options
Diffstat (limited to 'butl/process.cxx')
-rw-r--r-- | butl/process.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/butl/process.cxx b/butl/process.cxx index d8b10be..6b515b7 100644 --- a/butl/process.cxx +++ b/butl/process.cxx @@ -717,7 +717,7 @@ namespace butl // there could be actual quotes in the value, we need to escape them. // string a (*p); - bool quote (a.find (' ') != string::npos); + bool quote (a.empty () || a.find (' ') != string::npos); if (quote) cmd_line += '"'; |