Improved message for unarchive. (#64594)

Signed-off-by: Satyajit Bulage <sbulage@redhat.com>
pull/60304/head
Satyajit Bulage 5 years ago committed by Abhijeet Kasurde
parent 01e4e1bb42
commit 864a597a3e

@ -776,7 +776,7 @@ class TgzArchive(object):
return False, 'Command "%s" could not handle archive.' % self.cmd_path
# Errors and no files in archive assume that we weren't able to
# properly unarchive it
return False, 'Command "%s" found no files in archive.' % self.cmd_path
return False, 'Command "%s" found no files in archive. Empty archive files are not supported.' % self.cmd_path
# Class to handle tar files that aren't compressed

Loading…
Cancel
Save