Skip to content

Commit

Permalink
ckb-dev-detect: fix boot offset
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksii Vilchanskyi committed Jul 20, 2017
1 parent c375b5a commit a3c98b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckb-dev-detect
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ else
OUT="${OUT}${N}${N}Systemctl error, falling back to dmesg:${N}`dmesg | grep -i \"ckb\|corsair\|1b1c\"`"
else
# Pipe stderr to /dev/null, as grep would filter errors out anyway
OUT="${OUT}${N}${N}Dmesg on current boot:${N}`journalctl -o short-precise -k -b -0 2>/dev/null | grep -i \"ckb\|corsair\|1b1c\"`"
OUT="${OUT}${N}${N}Dmesg on current boot:${N}`journalctl -o short-precise -k -b 0 2>/dev/null | grep -i \"ckb\|corsair\|1b1c\"`"
OUT="${OUT}${N}${N}Dmesg on last boot:${N}`journalctl -o short-precise -k -b -1 2>/dev/null | grep -i \"ckb\|corsair\|1b1c\"`"
OUT="${OUT}${N}${N}Daemon on current boot:${N}`journalctl -o short-precise -b -0 --unit=ckb-daemon 2>&1`"
OUT="${OUT}${N}${N}Daemon on current boot:${N}`journalctl -o short-precise -b 0 --unit=ckb-daemon 2>&1`"
OUT="${OUT}${N}${N}Daemon on last boot:${N}`journalctl -o short-precise -b -1 --unit=ckb-daemon 2>&1`"
fi
fi
Expand Down

0 comments on commit a3c98b5

Please sign in to comment.