diff options
-rw-r--r-- | sos/report/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sos/report/__init__.py b/sos/report/__init__.py index 79c1dae0..7ad2d24a 100644 --- a/sos/report/__init__.py +++ b/sos/report/__init__.py @@ -1245,6 +1245,9 @@ class SoSReport(SoSComponent): finally: os.umask(old_umask) else: + if self.opts.encrypt_pass or self.opts.encrypt_key: + self.ui_log.warn("\nUnable to encrypt when using --build. " + "Encryption is only available for archives.") # move the archive root out of the private tmp directory. directory = self.archive.get_archive_path() dir_name = os.path.basename(directory) |