From cf0eb7fbca7e64a9f14d9de9042c82ac7acab57d Mon Sep 17 00:00:00 2001 From: Philipp Schaffrath Date: Thu, 19 Nov 2020 02:39:43 +0100 Subject: [PATCH] fixed issue that prevented giph from stopping and starting a recording --- src/giph | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/giph b/src/giph index 744971c..d7f1e68 100755 --- a/src/giph +++ b/src/giph @@ -269,7 +269,7 @@ function get_geometry_from_slop() { slop_command="${slop[*]}" log "slop command: '$slop_command'" 2 true - slop_value="$("$slop_command")" + slop_value="$($slop_command)" [ "$?" -eq 1 ] && log_error "slop selection got canceled" GEOMETRY_STRING="$slop_value" @@ -471,7 +471,7 @@ function giph() { function stop_all_recordings() { for pid in "$(pgrep -f "bash.+giph")"; do - kill -INT -"$pid" + kill -INT -$pid done }