From ae3e60902478405923277be75755fe2f63fed678 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Tue, 20 Feb 2024 22:21:01 +0100 Subject: [PATCH] [libcalamares] Get default timeout from CommandList --- src/libcalamares/utils/CommandList.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libcalamares/utils/CommandList.h b/src/libcalamares/utils/CommandList.h index 3db0102d6..17a251a7c 100644 --- a/src/libcalamares/utils/CommandList.h +++ b/src/libcalamares/utils/CommandList.h @@ -106,6 +106,7 @@ public: CommandList( const QVariant& v, bool doChroot = true, std::chrono::seconds timeout = std::chrono::seconds( 10 ) ); bool doChroot() const { return m_doChroot; } + std::chrono::seconds defaultTimeout() const { return m_timeout; } Calamares::JobResult run();