exit 0 instead of exit 1

This commit is contained in:
dec05eba
2024-09-21 17:51:01 +02:00
parent c21e58f16f
commit 1ee2587a8f
3 changed files with 3 additions and 3 deletions

View File

@@ -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"