Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab219b68 authored by Yasin Kilicdere's avatar Yasin Kilicdere
Browse files

Use ErrPrintWriter when there is an error.

Change-Id: Id7bcf6e367c9e90c4d212e9c53cc7a2232e1378d
parent 4c4e25e0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3069,7 +3069,7 @@ class PackageManagerShellCommand extends ShellCommand {
                getOutPrintWriter().printf("Success: user %d is already being removed\n", userId);
                return 0;
            case UserManager.REMOVE_RESULT_ERROR_MAIN_USER_PERMANENT_ADMIN:
                getOutPrintWriter().printf("Error: user %d is a permanent admin main user\n",
                getErrPrintWriter().printf("Error: user %d is a permanent admin main user\n",
                        userId);
                return 1;
            default: