Commit c5ffb08
authored
fix: give detailed error message when ps is not installed (#482)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Added a command-line check to ensure the availability of the `ps`
command before executing the main logic of the status check, enhancing
system stability and preventing runtime errors.
- **Bug Fixes**
- Improved error handling by outputting a descriptive message when the
`ps` command is not found, allowing users to understand the issue
clearly.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>1 parent 883ab6b commit c5ffb08
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| |||
0 commit comments