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

Commit 78770343 authored by Tony Mak's avatar Tony Mak
Browse files

Return exit code 0 when the command run successfully

Fix: 62410589
Test: run the pm create-user command and check the exit code

Change-Id: I5bde1f886860cd8edb869ebaa8f6e5376882f03b
parent 48a76594
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1033,7 +1033,7 @@ public final class Pm {

            if (info != null) {
                System.out.println("Success: created user id " + info.id);
                return 1;
                return 0;
            } else {
                System.err.println("Error: couldn't create User.");
                return 1;