Created on 10-11-2016 07:13 AM Edited on 03-30-2022 05:02 PM By Anonymous
Description
Summary of Topic
When running 'phdownloadimage.local' to upgrade I received error "-bash: ./phdownloadimage.local: /bin/bash^M: bad interpreter: No such file or directory".
This is caused by the file having WIndows line feed characters (^M) in the file. Maybe the script was opened in a text editor on Windows at some point.
Resolution
run the command 'dos2unix' at the command line.
# dos2unix phdownloadimage.local
Now you can run the phdownload.local script again.
Additional Resources
n/a
Version application
All
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.