fi
-# My window managers doesn't start a terminal emulator on its own, start one
+# My window manager doesn't start a terminal emulator on its own, start one
# when I login.
(urxvt || rxvt || xterm) &
# No `eval` necessary, we terminate anyway.
fi
# Kill remaining background processes.
-kill $background_pids
+if test -n "$background_pids"; then
+ kill $background_pids
+fi