nspawn: split long message into two lines

For names like /var/lib/container/something, the message
becomes quite long. Better to split it.

Also reword the message not to suggest that ^]^]^] only works
in the beginning.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2014-06-07 16:30:51 -04:00
parent 0c347259d3
commit 45f1386c9a
+2 -1
View File
@@ -2787,7 +2787,8 @@ int main(int argc, char *argv[]) {
}
if (!arg_quiet)
log_info("Spawning container %s on %s. Press ^] three times within 1s to abort execution.", arg_machine, arg_image ? arg_image : arg_directory);
log_info("Spawning container %s on %s.\nPress ^] three times within 1s to kill container.",
arg_machine, arg_image ? arg_image : arg_directory);
if (unlockpt(master) < 0) {
log_error("Failed to unlock tty: %m");