From 0b9f14d2be4137a506d19fc647f855e75a845111 Mon Sep 17 00:00:00 2001 From: Salt Date: Fri, 14 Jun 2019 06:22:00 -0500 Subject: [PATCH] jptgdp: Ensure that -r and -f conflict --- jptgdp | 1 + 1 file changed, 1 insertion(+) diff --git a/jptgdp b/jptgdp index 74d9f14..f07155b 100755 --- a/jptgdp +++ b/jptgdp @@ -183,6 +183,7 @@ main() { ;; esac done + [ -n "$_optfile" ] && [ -n "$_optrofi" ] && error "Flags -f and -r conflict" 2 [ -n "$_optdownloadonly" ] && [ -n "$_optautoplay" ] && error "Flags -d and -p conflict" 2 if [ -n "$_optrofi" ]; then rofimenu; exit $?; fi if [ -n "$_optfile" ]; then playlist "$_optfile"; exit $?; fi