chiark / gitweb /
udevadm-settle: add missing brace
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 7 Nov 2013 06:34:19 +0000 (01:34 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 7 Nov 2013 06:34:19 +0000 (01:34 -0500)
src/core/main.c
src/udev/udevadm-settle.c

index d161968..ec7758d 100644 (file)
@@ -1385,7 +1385,7 @@ int main(int argc, char *argv[]) {
 
         if (arg_running_as == SYSTEMD_USER &&
             !getenv("XDG_RUNTIME_DIR")) {
-                log_error("Trying to run as user instance, but \$XDG_RUNTIME_DIR is not set.");
+                log_error("Trying to run as user instance, but $XDG_RUNTIME_DIR is not set.");
                 goto finish;
         }
 
index 65508d8..1468f03 100644 (file)
@@ -87,6 +87,7 @@ static int adm_settle(struct udev *udev, int argc, char *argv[])
                                 exit(EXIT_FAILURE);
                         };
                         break;
+                };
                 case 'q':
                         quiet = 1;
                         break;