Skip to content

Commit

Permalink
Add output for DWM crashes
Browse files Browse the repository at this point in the history
  • Loading branch information
untitaker committed Aug 29, 2016
1 parent dfe676c commit d424c8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion home/.xstart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ main() {
while true; do
output="$(dwm 2>&1)"
if [ $? = 0 ]; then break; fi
echo "dwm crashed or was killed"
echo "dwm crashed or was killed. Output:"
echo "$output"

if echo "$output" | grep -q "another window manager"; then
echo "Other window manager running, waiting a bit..."
Expand Down

0 comments on commit d424c8d

Please sign in to comment.