From 2ceb2ba7d48e15d62b6068b9e5a5779b796f3833 Mon Sep 17 00:00:00 2001 From: Marc Date: Tue, 17 Aug 2021 21:26:17 +0100 Subject: [PATCH] Helpers: Fix payload location in ACTIVATE --- usr/bin/ACTIVATE | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr/bin/ACTIVATE b/usr/bin/ACTIVATE index 1c6b971..42616eb 100755 --- a/usr/bin/ACTIVATE +++ b/usr/bin/ACTIVATE @@ -18,8 +18,8 @@ usage() { activate_payload() { if [[ $PATH_TYPE == "ABSOLUTE" ]]; then if [[ -f $PAYLOAD_PATH ]]; then - cp -r $PAYLOAD_PATH /root/payload.sh - chmod +x /root/payload.sh + cp -r $PAYLOAD_PATH /root/payload/payload.sh + chmod +x /root/payload/payload.sh echo "Activated $SPECIFIED_PATH successfully." else echo "The specified payload does not exist." @@ -29,7 +29,7 @@ activate_payload() { else if [[ -d $PAYLOAD_PATH ]]; then cp -r $PAYLOAD_PATH/payload.sh /root/payload/payload.sh - chmod +x /root/payload.sh + chmod +x /root/payload/payload.sh echo "Activated $SPECIFIED_PATH successfully." else echo "The specified payload does not exist. Make sure your library is up to date with UPDATE_PAYLOADS."