Commit 3f17fdd
committed
Fix shell terminating when an error occurs during completion
The shell asking for completion was exiting when PHP exited with a non-zero
status. This was due to `exit` being use instead of `return` in the context
of a BASH function.
This made it quite frustrating to develop the module, so I'm glad this is
now fixed.1 parent 17824f6 commit 3f17fdd
File tree
1 file changed
+1
-1
lines changed- src/Stecman/Component/Symfony/Console/BashCompletion
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
397 | | - | |
| 397 | + | |
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
| |||
0 commit comments