aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lush.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lush.c b/src/lush.c
index 3d80c5f..2925272 100644
--- a/src/lush.c
+++ b/src/lush.c
@@ -1479,7 +1479,11 @@ int main(int argc, char *argv[]) {
if (status == -1) {
fprintf(stderr, "lush: Expected end of quoted string\n");
- } else if (lush_run(L, args, status) != 0) {
+ } else {
+ lush_expand_globs(args);
+ }
+
+ if (lush_run(L, args, status) != 0) {
exit(1);
}