Browse Source

ash hook: quote $1

Commands _may_ contain spaces, theoretically. Just be more robust.
Jakub Jirutka 1 year ago
parent
commit
39122a1e75
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      profiles/command-not-found.ash

+ 1
- 1
profiles/command-not-found.ash View File

@@ -1,4 +1,4 @@
1 1
 command_not_found_handle() {
2 2
 	[ -x /usr/libexec/command-not-found ] || return 0
3
-	/usr/libexec/command-not-found $1
3
+	/usr/libexec/command-not-found "$1"
4 4
 }