diff --git a/.config/dtfscripts/wmstartup.sh b/.config/dtfscripts/wmstartup.sh
index 92ce4758..8e5e0c6b 100755
--- a/.config/dtfscripts/wmstartup.sh
+++ b/.config/dtfscripts/wmstartup.sh
@@ -59,14 +59,14 @@ done
 # Wallpaper management
 # Note that this MUST happen before the compositor starts, otherwise xsetroot
 # will not apply properly
-if which xfdesktop 2&> /dev/null; then
+if which xfdesktop > /dev/null 2>&1; then
 	printf "  [INFO] Starting xfdesktop\n"
 	xfdesktop&
-elif which feh 2&> /dev/null; then
+elif which feh > /dev/null 2>&1; then
 	printf "  [INFO] Setting wallpaper with feh\n"
 	printf "  [WARN] This solution may cause problems on multi-monitor systems\n"
 	feh --randomize --bg-fill ~/Pictures/Wallpapers/.active &
-elif which xsetroot 2&> /dev/null; then
+elif which xsetroot > /dev/null 2>&1; then
 	printf "  [INFO] Setting root window color\n"
 	xsetroot -solid "#282828"
 else