C-Duv/sysadmin-scripts

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

C-Duv opened this issue · 0 comments

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.