From 5e618154d03ff88eb3842e9cd1fa9a4d7bfeccc7 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Sun, 24 Nov 2024 16:18:29 -0800 Subject: [PATCH] Clarify error message. --- borgmatic/config/paths.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/borgmatic/config/paths.py b/borgmatic/config/paths.py index 7401e1c3..5482efef 100644 --- a/borgmatic/config/paths.py +++ b/borgmatic/config/paths.py @@ -104,7 +104,7 @@ class Runtime_directory: base_directory = os.environ.get('TMPDIR') or os.environ.get('TEMP') or '/tmp' if not base_directory.startswith(os.path.sep): - raise ValueError('The runtime directory must be an absolute path') + raise ValueError('The temporary directory must be an absolute path') os.makedirs(base_directory, mode=0o700, exist_ok=True) self.temporary_directory = tempfile.TemporaryDirectory(