]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - xorg/50-systemd-user.sh
login: avoid external process call
[thirdparty/systemd.git] / xorg / 50-systemd-user.sh
index 4d497672283bbf463b9a93fe2559a86f1d19b7e7..5588185c50382ae3e4f376ffb5293ec73da4a489 100755 (executable)
@@ -2,6 +2,6 @@
 
 systemctl --user import-environment DISPLAY XAUTHORITY
 
-if which dbus-update-activation-environment >/dev/null 2>&1; then
+if command -v dbus-update-activation-environment >/dev/null 2>&1; then
         dbus-update-activation-environment DISPLAY XAUTHORITY
 fi