Skip to content

Commit

Permalink
Better error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Antiz96 committed Jan 4, 2024
1 parent 7ad2846 commit 9dcf1bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/script/arch-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ orphan_packages() {

if ! pacman -Qtdq | "${su_cmd}" pacman -Rns -; then
echo
error_msg "An error has occurred\nThe removal has been aborted\n"
error_msg "An error has occurred during the removal process\nThe removal has been aborted\n"
else
echo
info_msg "The removal has been applied\n"
Expand Down Expand Up @@ -365,7 +365,7 @@ orphan_packages() {

if ! flatpak remove --unused; then
echo
error_msg "An error has occurred\nThe removal has been aborted\n"
error_msg "An error has occurred the removal process\nThe removal has been aborted\n"
else
echo
info_msg "The removal has been applied\n"
Expand Down

0 comments on commit 9dcf1bf

Please sign in to comment.