From 4fd675c3b04c3084f60d0f2f2f90432b96723796 Mon Sep 17 00:00:00 2001 From: Yigit Colakoglu Date: Mon, 12 Apr 2021 11:21:51 +0300 Subject: [PATCH] Fixed prompt --- arch/stage2.sh | 2 +- artix/stage2.sh | 2 +- yaass.sh | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/stage2.sh b/arch/stage2.sh index 38b9597..360e4f5 100755 --- a/arch/stage2.sh +++ b/arch/stage2.sh @@ -34,7 +34,7 @@ error(){ } prompt(){ - printf "[\e[35mPROMPT\e[0m]: %s" "$1" + 1>&2 printf "[\e[35mPROMPT\e[0m]: %s" "$1" read -r ans printf "%s" "$ans" } diff --git a/artix/stage2.sh b/artix/stage2.sh index 5168599..c1f364c 100755 --- a/artix/stage2.sh +++ b/artix/stage2.sh @@ -34,7 +34,7 @@ error(){ } prompt(){ - printf "[\e[35mPROMPT\e[0m]: %s" "$1" + 1>&2 printf "[\e[35mPROMPT\e[0m]: %s" "$1" read -r ans printf "%s" "$ans" } diff --git a/yaass.sh b/yaass.sh index 0c91c5b..8fa350d 100755 --- a/yaass.sh +++ b/yaass.sh @@ -34,7 +34,7 @@ error(){ } prompt(){ - printf "[\e[35mPROMPT\e[0m]: %s" "$1" + 1>&2 printf "[\e[35mPROMPT\e[0m]: %s" "$1" read -r ans printf "%s" "$ans" } @@ -65,6 +65,8 @@ ${ORANGE}Author:${NC} Yigit Colakoglu aka. ${BLUE}<===8 Fr1nge 8===>${NC}\n" exit 0 } +banner + os="" while [[ $# -gt 0 ]]