mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-11-08 13:30:47 -05:00
Add pipe to awk for RIVER variable
This commit is contained in:
parent
b3b7209ffa
commit
d545bb85c9
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
RIVER=`ps -C river`
|
||||
RIVER=`ps -C river | awk '/river/'`
|
||||
|
||||
[[ $RIVER != "" ]] && riverctl spawn 'reset' && riverctl exit || echo "River is not running."
|
||||
|
|
Loading…
Reference in a new issue