From 074d3659ca4a8dcef278e7017887d33e2be091cf Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 16 Dec 2024 13:42:04 +0100 Subject: [PATCH] unet-cli: confirm password when creating new seed based key Signed-off-by: Felix Fietkau --- scripts/unet-cli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/unet-cli b/scripts/unet-cli index 5efd570..bae0965 100755 --- a/scripts/unet-cli +++ b/scripts/unet-cli @@ -430,7 +430,7 @@ case 'set-config': } if (!net_data.config.id) { - net_data.config.id = trim(popen(`unet-tool -P ${key_arg(file, net_data)}`).read("all")); + net_data.config.id = trim(popen(`unet-tool -P -p ${key_arg(file, net_data)}`).read("all")); if (!net_data.config.id) exit(1); } -- 2.30.2