mirror of
https://gitee.com/amber-ce/amber-pm
synced 2025-12-17 02:41:37 +08:00
正确报错
This commit is contained in:
@@ -111,6 +111,13 @@ case "$1" in
|
||||
command=$1
|
||||
shift
|
||||
amber-pm-debug aptss "$command" "$@"
|
||||
exit_code=$?
|
||||
if [ $exit_code -eq 0 ]; then
|
||||
log.info "Operation successful"
|
||||
else
|
||||
log.error "Error: Operation failed"
|
||||
exit $exit_code
|
||||
fi
|
||||
amber-pm-debug amber-pm-dstore-patch
|
||||
apm-nvidia-toggle
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user