summaryrefslogtreecommitdiff
path: root/custom/uucp-mediaserver/scripts/queue
diff options
context:
space:
mode:
Diffstat (limited to 'custom/uucp-mediaserver/scripts/queue')
-rwxr-xr-xcustom/uucp-mediaserver/scripts/queue5
1 files changed, 5 insertions, 0 deletions
diff --git a/custom/uucp-mediaserver/scripts/queue b/custom/uucp-mediaserver/scripts/queue
index a9b6bd47..0475c184 100755
--- a/custom/uucp-mediaserver/scripts/queue
+++ b/custom/uucp-mediaserver/scripts/queue
@@ -58,6 +58,11 @@ printf "force: %d, noCall: %s, prepend: %s\n" ${force} ${noCall} ${prepend} | de
58 58
59for f (${@}); do 59for f (${@}); do
60 f=$(readlink -f ${f}) 60 f=$(readlink -f ${f})
61 if [[ ! -f ${f} ]]; then
62 printf "‘%s’ is not a regular file\n" ${f:t} | warn
63 continue
64 fi
65
61 if grep -q ${f} @queueDir@/${suffix}.queue; then 66 if grep -q ${f} @queueDir@/${suffix}.queue; then
62 printf "‘%s’ is already in queue file\n" ${f:t} | warn 67 printf "‘%s’ is already in queue file\n" ${f:t} | warn
63 continue 68 continue