Skip to content

Commit

Permalink
fixed issue that prevented giph from stopping and starting a recording
Browse files Browse the repository at this point in the history
  • Loading branch information
phisch committed Nov 19, 2020
1 parent 55acc65 commit cf0eb7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/giph
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
}

Expand Down

0 comments on commit cf0eb7f

Please sign in to comment.