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.
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.