OSDN Git Service
(root)
/
alterlinux
/
alterlinux-calamares.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54385b7
)
[libcalamares] Reduce log spam when running commands
author
Adriaan de Groot
<groot@kde.org>
Tue, 21 Sep 2021 22:58:31 +0000
(
00:58
+0200)
committer
Adriaan de Groot
<groot@kde.org>
Tue, 21 Sep 2021 22:58:31 +0000
(
00:58
+0200)
src/libcalamares/utils/CalamaresUtilsSystem.cpp
patch
|
blob
|
history
diff --git
a/src/libcalamares/utils/CalamaresUtilsSystem.cpp
b/src/libcalamares/utils/CalamaresUtilsSystem.cpp
index
df578a8
..
d2c0a6c
100644
(file)
--- a/
src/libcalamares/utils/CalamaresUtilsSystem.cpp
+++ b/
src/libcalamares/utils/CalamaresUtilsSystem.cpp
@@
-169,7
+169,7
@@
System::runCommand( System::RunLocation location,
}
}
- cDebug() << "Running" << program << RedactedList( arguments );
+ cDebug() <<
Logger::SubEntry <<
"Running" << program << RedactedList( arguments );
process.start();
if ( !process.waitForStarted() )
{
@@
-208,10
+208,6
@@
System::runCommand( System::RunLocation location,
{
cDebug() << Logger::SubEntry << "Finished. Exit code:" << r << "output:\n" << Logger::NoQuote << output;
}
- else
- {
- cDebug() << Logger::SubEntry << "Finished. Exit code:" << r;
- }
}
else // if ( r != 0 )
{