]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - coccinelle/synthetic-errno.cocci
Revert "sysctl: Enable ping(8) inside rootless Podman containers"
[thirdparty/systemd.git] / coccinelle / synthetic-errno.cocci
index 645bfc945f4b4b0e426ec72b72aca8529fb0a347..3ddb69cb4cff498ab310f6ffd9eba2504eef6192 100644 (file)
@@ -2,9 +2,15 @@
 expression e;
 expression list args;
 @@
+(
+/* Ignore one specific case in src/shared/bootspec.c where we want to stick
+ * with the log_debug() + return pattern */
+log_debug("Found no default boot entry :(");
+|
 - log_debug(args);
 - return -e;
 + return log_debug_errno(SYNTHETIC_ERRNO(e), args);
+)
 @@
 expression e;
 expression list args;