aboutsummaryrefslogtreecommitdiff
path: root/scripts/start-recording.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/start-recording.sh')
-rwxr-xr-xscripts/start-recording.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/start-recording.sh b/scripts/start-recording.sh
index bf71d62..03fda73 100755
--- a/scripts/start-recording.sh
+++ b/scripts/start-recording.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-pidof -q gpu-screen-recorder && exit 1
+pidof -q gpu-screen-recorder && exit 0
video="$HOME/Videos/$(date +"Video_%Y-%m-%d_%H-%M-%S.mp4")"
gpu-screen-recorder -w screen -f 60 -a default_output -o "$video"