--- a/src/Pure/System/linux.scala Sat Jan 09 22:41:08 2021 +0100
+++ b/src/Pure/System/linux.scala Sun Jan 10 13:04:29 2021 +0100
@@ -97,7 +97,7 @@
system: Boolean = false,
ssh_setup: Boolean = false)
{
- require(!description.contains(','))
+ require(!description.contains(','), "malformed description")
if (user_exists(name)) error("User already exists: " + quote(name))
@@ -153,7 +153,7 @@
def generate_password(length: Int = 10): String =
{
- require(length >= 6)
+ require(length >= 6, "password too short")
Isabelle_System.bash("pwgen " + length + " 1").check.out
}
}