From b747e88698b236f8f16421d7f7e3610629226227 Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Fri, 16 Sep 2011 19:53:50 -0500 Subject: uuidd: Add missing break to option case statement Specifying the "-n" option to uuidd would incorrectly fall through to the "-p" case, and assign that number to the pidfile_path. Signed-off-by: Eric Sandeen --- misc-utils/uuidd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/misc-utils/uuidd.c b/misc-utils/uuidd.c index b250b7a34..453287c5b 100644 --- a/misc-utils/uuidd.c +++ b/misc-utils/uuidd.c @@ -478,6 +478,7 @@ int main(int argc, char **argv) fprintf(stderr, _("Bad number: %s\n"), optarg); return EXIT_FAILURE; } + break; case 'p': pidfile_path = optarg; drop_privs = 1; -- cgit v1.2.3-55-g7522