Actions
Bug #19622
closedkatello-restore `dup': can't dup NilClass (TypeError) when no directory specified
Status:
Closed
Priority:
Normal
Assignee:
Category:
Backup & Restore
Target version:
Difficulty:
Triaged:
Bugzilla link:
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1451833
Description of problem:
Calling katello-restore without arguments:
- katello-restore
/usr/bin/katello-restore:20:in `dup': can't dup NilClass (TypeError)
from /usr/bin/katello-restore:20:in `<main>'
Expected results:
katello-restore should either display a message instructing user to specify the restore directory or just display the help output:
]# katello-restore
Usage: katello-restore /path/to/dir [options]
eg: $ katello-restore /tmp/backup/katello-backup-2016-09-30T00:00:00+00:00
-y, --assumeyes Answer yes for all questions
Actions