Skip to content

Commit

Permalink
9381 policykit: this statement may fall through
Browse files Browse the repository at this point in the history
Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net>
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
Approved by: Dan McDonald <danmcd@joyent.com>
  • Loading branch information
tsoome authored and Dan McDonald committed Apr 6, 2018
1 parent 586c519 commit f7c0c79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions usr/src/cmd/policykit/polkit-is-privileged.c
Expand Up @@ -181,6 +181,7 @@ main (int argc, char *argv[])

case LIBPOLKIT_RESULT_NOT_PRIVILEGED:
g_print ("Not privileged.\n");
goto out;

case LIBPOLKIT_RESULT_NO_SUCH_PRIVILEGE:
g_print ("No such privilege '%s'.\n", privilege);
Expand Down

0 comments on commit f7c0c79

Please sign in to comment.