From 6a1dfb3b62eda5e7eb671b9c879546addb616684 Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Fri, 16 Sep 2011 15:49:24 -0500 Subject: [PATCH] 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 Signed-off-by: Theodore Ts'o --- misc/uuidd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/uuidd.c b/misc/uuidd.c index 89bff72..912773a 100644 --- a/misc/uuidd.c +++ b/misc/uuidd.c @@ -472,6 +472,7 @@ int main(int argc, char **argv) fprintf(stderr, _("Bad number: %s\n"), optarg); exit(1); } + break; case 'p': pidfile_path = optarg; drop_privs = 1; -- 1.8.3.1