diff --git a/dot_local/bin/executable_river-logout b/dot_local/bin/executable_river-logout index a6655fb..b3480bc 100644 --- a/dot_local/bin/executable_river-logout +++ b/dot_local/bin/executable_river-logout @@ -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."