summaryrefslogtreecommitdiff
path: root/udev/udev-event.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev/udev-event.c')
-rw-r--r--udev/udev-event.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/udev/udev-event.c b/udev/udev-event.c
index 02c5c99dc1..79a4cde651 100644
--- a/udev/udev-event.c
+++ b/udev/udev-event.c
@@ -706,6 +706,11 @@ int udev_event_execute_run(struct udev_event *event)
util_strlcpy(program, cmd, sizeof(program));
udev_event_apply_format(event, program, sizeof(program));
+ if (event->trace)
+ printf("run %s (%llu) '%s'\n",
+ udev_device_get_syspath(event->dev),
+ udev_device_get_seqnum(event->dev),
+ program);
envp = udev_device_get_properties_envp(event->dev);
if (util_run_program(event->udev, program, envp, NULL, 0, NULL) != 0) {
if (!udev_list_entry_get_flag(list_entry))