Fix bug in checkForGraph...()
This commit is contained in:
parent
86f704a633
commit
2913c24307
|
@ -448,11 +448,11 @@ getDotfiles() {
|
||||||
|
|
||||||
checkForGraphicalInterface() {
|
checkForGraphicalInterface() {
|
||||||
journalctl --sync
|
journalctl --sync
|
||||||
result=$(journalctl -b -r -g "Graphical" | wc -l)
|
result=$(journalctl -b -q -r -g "Graphical" | wc -l)
|
||||||
while [ $result -lt 2 ]; do
|
while [ $result -lt 2 ]; do
|
||||||
journalctl --sync
|
|
||||||
result=$(journalctl -b -r -g "Graphical" | wc -l)
|
|
||||||
sleep 1
|
sleep 1
|
||||||
|
journalctl --sync
|
||||||
|
result=$(journalctl -b -q -r -g "Graphical" | wc -l)
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue