1779503816

This commit is contained in:
2026-05-22 20:36:56 -06:00
parent 07aaf17ce1
commit c8d0979360
2 changed files with 4 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
run command and display error or success
```bash
<command>; ret=$? && if [ $ret -ne 0 ]; then echo -e "\n\033[0;31mERRROR! Code: $ret\033[0m"; else echo -e "\033[0;32mOK!\033[0m"; fi
```