Project

General

Profile

Actions

Bug #19622

closed

katello-restore `dup': can't dup NilClass (TypeError) when no directory specified

Added by Christine Fouant over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Backup & Restore
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1451833

Description of problem:

Calling katello-restore without arguments:

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

Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello-packaging/pull/450 added
Actions #2

Updated by Justin Sherrill over 7 years ago

  • Translation missing: en.field_release set to 228
Actions #3

Updated by Eric Helms over 7 years ago

  • Translation missing: en.field_release changed from 228 to 258
Actions #4

Updated by Eric Helms over 7 years ago

  • Translation missing: en.field_release changed from 258 to 267
Actions #5

Updated by Brad Buckingham over 7 years ago

  • Target version set to 202
Actions #6

Updated by Christine Fouant over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #7

Updated by Eric Helms over 7 years ago

  • Translation missing: en.field_release changed from 267 to 281
Actions

Also available in: Atom PDF