aboutsummaryrefslogtreecommitdiff
path: root/scripts/start-recording.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-09-21 17:51:01 +0200
committerdec05eba <dec05eba@protonmail.com>2024-09-21 17:51:01 +0200
commit1ee2587a8f800c2f49c49258aec92d3e73980e9e (patch)
tree561f5f8e82da6cbfc9e0a06730be02e4597d68cd /scripts/start-recording.sh
parentc21e58f16f40b9db6d9f1dfcd10d5389aef96e85 (diff)
exit 0 instead of exit 1
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"