]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/bootchart/bootchart.c
tree-wide: drop {} from one-line if blocks
[thirdparty/systemd.git] / src / bootchart / bootchart.c
index 322cec84a9efabc04bd9bdc7911424e61e295013..e61b58b5e5f0494905942c51e946936dc7221400 100644 (file)
@@ -438,10 +438,9 @@ int main(int argc, char *argv[]) {
 
                         res = nanosleep(&req, NULL);
                         if (res) {
-                                if (errno == EINTR) {
+                                if (errno == EINTR)
                                         /* caught signal, probably HUP! */
                                         break;
-                                }
                                 log_error_errno(errno, "nanosleep() failed: %m");
                                 return EXIT_FAILURE;
                         }