summaryrefslogtreecommitdiff
path: root/src/print_volume.c
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2013-11-09 14:34:12 +0100
committerMichael Stapelberg <michael@stapelberg.de>2013-11-09 14:37:05 +0100
commit14b43bdec2af2737457a00e65ccc129025e508c1 (patch)
tree27c491e5275925457e5bd9a82abd204af7d85ee1 /src/print_volume.c
parent31509b0d5654baf2e2c3438cae90c30e3dd00c17 (diff)
format detection: simplify code, handle "sh" processes in the hierarchy
i3 starts processes using /bin/sh now, not $SHELL. This increases the likelihood with which we are started by dash, which tends to leave its processes in the hierarchy, e.g.: michael 1524 i3bar --bar_id=bar-0 --socket=/run/user/1000/i3/ipc-s michael 1525 \_ /bin/sh -c i3status michael 1526 \_ i3status This case is now handled correctly — when the parent is “sh”, the parent of sh will be used instead.
Diffstat (limited to 'src/print_volume.c')
0 files changed, 0 insertions, 0 deletions