Skip to content

Commit cf0eb7f

Browse files
committed
fixed issue that prevented giph from stopping and starting a recording
1 parent 55acc65 commit cf0eb7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/giph

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ function get_geometry_from_slop() {
269269
slop_command="${slop[*]}"
270270
log "slop command: '$slop_command'" 2 true
271271

272-
slop_value="$("$slop_command")"
272+
slop_value="$($slop_command)"
273273
[ "$?" -eq 1 ] && log_error "slop selection got canceled"
274274

275275
GEOMETRY_STRING="$slop_value"
@@ -471,7 +471,7 @@ function giph() {
471471

472472
function stop_all_recordings() {
473473
for pid in "$(pgrep -f "bash.+giph")"; do
474-
kill -INT -"$pid"
474+
kill -INT -$pid
475475
done
476476
}
477477

0 commit comments

Comments
 (0)