From ac6846a64a755bd25ce239c9353e554a5e8da850 Mon Sep 17 00:00:00 2001 From: shenmo Date: Tue, 28 Oct 2025 08:32:24 +0000 Subject: [PATCH] update src/usr/bin/apm. Signed-off-by: shenmo --- src/usr/bin/apm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/usr/bin/apm b/src/usr/bin/apm index 37d3968..7c307bd 100755 --- a/src/usr/bin/apm +++ b/src/usr/bin/apm @@ -299,6 +299,16 @@ case "$1" in ;; ssaudit) amber-pm-debug ssaudit "$@" --native + 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 + amber-pm-gxde-desktop-fix + ;; -h|--help) show_help