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,6 +1,6 @@
#!/bin/sh
pidof -q gpu-screen-recorder && exit 1
pidof -q gpu-screen-recorder && exit 0
video_path="$HOME/Videos"
mkdir -p "$video_path"
gpu-screen-recorder -w screen -f 60 -a default_output -c mkv -r 30 -o "$video_path"