Skip to content

Commit

Permalink
Merge pull request #7 from kayla-tokash/patch-1
Browse files Browse the repository at this point in the history
Fix for issue #6
  • Loading branch information
rordi authored Dec 17, 2021
2 parents 665da59 + dfc6724 commit 812b9ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/bin/scanner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ if (( ${#files} ))
then
printf "Found files to process\n"
for file in "/data/av/queue"/* ; do
filename=`basename $file`
mv -f $file "/data/av/scan/${filename}"
filename=`basename "$file"`
mv -f "$file" "/data/av/scan/${filename}"
printf "Processing /data/av/scan/${filename}\n"
/usr/local/bin/scanfile.sh > /data/av/scan/info 2>&1
if [ -e "/data/av/scan/${filename}" ]
Expand Down

0 comments on commit 812b9ea

Please sign in to comment.