commit b4014d0

hovercats  ·  2026-07-17 12:53:20 +0000 UTC
parent afaf824
use errexit function instead of log function on invalid argument
1 files changed,  +1, -2
M rcpm
M rcpm
+1, -2
1@@ -177,7 +177,6 @@ switch($cmd) {
2 	case u
3 		update_pkg
4 	case *
5-		log 'Error: Invalid arguement!'
6 		rcpm_help
7-		exit 1
8+		errexit 'Invalid arguement!'
9 }