Run swapon interactively, let user know what's happening.

Let's try this, should be OK for all types of systems.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2022-04-12 21:45:37 +02:00
parent b5df0a6274
commit 3e51ed1c55
+1 -1
View File
@@ -334,7 +334,7 @@ static void fs_mount_all(void)
plugin_run_hooks(HOOK_MOUNT_POST);
if (whichp("swapon"))
run("swapon -ea", "swapon");
run_interactive("swapon -ea", "Enabling system swap");
_d("Finalize, ensure common file systems are available ...");
fs_finalize();