C-Duv / sysadmin-scripts

Collection of scripts used for system administration.
GNU General Public License v3.0
9 stars 4 forks source link

duplicityBackup: crashes when using "create-config" action without file argument #7

Closed C-Duv closed 10 years ago

C-Duv commented 10 years ago

When running ./duplicityBackup create-config (create-config without the required argument) I get:

Writing example configuration file to ""...
fileparse(): need a valid pathname at ./duplicityBackup line 112

Script should test the presence of a file argument, detect any error and inform the user.