summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qarsh/qarshd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qarsh/qarshd.c b/qarsh/qarshd.c
index 55de12e..8919984 100644
--- a/qarsh/qarshd.c
+++ b/qarsh/qarshd.c
@@ -91,7 +91,7 @@ run_cmd(const char *cmd, int p_in, int p_out, int p_err)
* Otherwise exec the cmd directly.
*/
- if (strpbrk(cmd, "\"';|<>$\\~*")) {
+ if (strpbrk(cmd, "\"';|<>$\\~*&")) {
execlp("sh", "sh", "-c", cmd, NULL);
} else {
char **argv;