summaryrefslogtreecommitdiff
path: root/hscript/user.cc
diff options
context:
space:
mode:
Diffstat (limited to 'hscript/user.cc')
-rw-r--r--hscript/user.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/hscript/user.cc b/hscript/user.cc
index 8382f1c..9bc6864 100644
--- a/hscript/user.cc
+++ b/hscript/user.cc
@@ -132,6 +132,8 @@ bool RootPassphrase::execute(ScriptOptions options) const {
return true;
}
+ /* LCOV_EXCL_START */
+ /* This was tested on gwyn during development. */
std::ifstream old_shadow("/target/etc/shadow");
if(!old_shadow) {
output_error("installfile:" + std::to_string(this->lineno()),
@@ -139,8 +141,6 @@ bool RootPassphrase::execute(ScriptOptions options) const {
return false;
}
- /* LCOV_EXCL_START */
- /* This was tested on gwyn during development. */
std::stringstream shadow_stream;
char shadow_line[200];
/* Discard root. */