From: David Tardon Date: Fri, 25 Apr 2025 12:42:34 +0000 (+0200) Subject: udevadm-info: drop superfluous pager_open() call X-Git-Tag: v258-rc1~660^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86ff972ac3b5c362a813c523225b8c5c18b4fc3f;p=thirdparty%2Fsystemd.git udevadm-info: drop superfluous pager_open() call It's already called in advance in info_main(). --- diff --git a/src/udev/udevadm-info.c b/src/udev/udevadm-info.c index dae9c010d58..9b72977bcae 100644 --- a/src/udev/udevadm-info.c +++ b/src/udev/udevadm-info.c @@ -454,8 +454,6 @@ static int export_devices(sd_device_enumerator *e) { if (r < 0) return log_error_errno(r, "Failed to scan devices: %m"); - pager_open(arg_pager_flags); - FOREACH_DEVICE_AND_SUBSYSTEM(e, d) if (sd_json_format_enabled(arg_json_format_flags)) { _cleanup_(sd_json_variant_unrefp) sd_json_variant *v = NULL;