ajkis / scripts

Ajki's scripts & guides
https://ajkis.github.io/scripts/
324 stars 91 forks source link

CHECKFILEPATH variable change to CHECKFILE #57

Open orangesteel opened 4 years ago

orangesteel commented 4 years ago

The variable name is incorrect as per title, checkfilepath. It is called in the script as CHECKFILE.

By changing this, the script works correctly.

Mount path and CHECKFILE are concatenated to test whether the drive exists, hence ‘path’ looks like a legacy element that has been removed from the script, but variable names have not been updated, hope this helps someone.