Commit 842a824
committed
fix(HasSudoPassword): Refine sudo password application condition
- Enhance the condition for applying the sudo password to exclude specific PHP SAPI environments.
- This change prevents unnecessary sudo password application in CLI and embedded contexts.
Signed-off-by: guanguans <[email protected]>1 parent 2fd77fa commit 842a824
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
47 | 56 | | |
48 | 57 | | |
0 commit comments