diff --git a/src/scripts/tools/ppa.sh b/src/scripts/tools/ppa.sh index e3d39249..f73a5196 100644 --- a/src/scripts/tools/ppa.sh +++ b/src/scripts/tools/ppa.sh @@ -159,9 +159,9 @@ add_ppa() { else add_list "$ppa" fi - status="$?" + exit_code="$?" . /etc/os-release - return $status + return $exit_code } # Function to update a PPA.