From d71f169170b3baea18aebdad297fe004ac0ef8d3 Mon Sep 17 00:00:00 2001 From: chalith Date: Wed, 20 Dec 2023 13:53:21 +0530 Subject: [PATCH] Added missing operator --- installer/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/setup.sh b/installer/setup.sh index 49fbcfa..0d19a1e 100755 --- a/installer/setup.sh +++ b/installer/setup.sh @@ -800,7 +800,7 @@ function backup_key_file() { mkdir -p "$key_dir" fi - [ -f "$MB_XRPL_DATA/secret.cfg" ] && cp "$MB_XRPL_DATA/secret.cfg" "$key_file_path" \ + [ -f "$MB_XRPL_DATA/secret.cfg" ] && cp "$MB_XRPL_DATA/secret.cfg" "$key_file_path" && \ chmod 400 "$key_file_path" && \ chown $MB_XRPL_USER: $key_file_path && \ echomult "Key file backed up successfully at $key_file_path" || { echomult "Error occurred in permission and ownership assignment of key file."; exit 1; }