From e85897dcc095ebb55df0e26d6c3896e9ca1bf4b1 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