scripts/rec: fix POSIX compliance

This commit is contained in:
Michele Guerini Rocco 2020-11-18 00:48:35 +01:00
parent 3a4d869a9e
commit d6a74394fd
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450

View File

@ -11,7 +11,6 @@ record() {
if test "$1" = start; then if test "$1" = start; then
fish -ic 'set -U AUDIO record' fish -ic 'set -U AUDIO record'
record & record &
disown
else else
fish -ic 'set -U AUDIO' fish -ic 'set -U AUDIO'
pkill ffmpeg pkill ffmpeg