From d545bb85c97b8ff767af93b44d2e45d0c9668430 Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Sun, 24 Dec 2023 02:46:42 -0500 Subject: [PATCH] Add pipe to awk for RIVER variable --- dot_local/bin/executable_river-logout | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."