Skip to content

Commit

Permalink
changed submsg() printing from [+] to ==>, as the later is common in …
Browse files Browse the repository at this point in the history
…Arch

Linux scripts
  • Loading branch information
GIJack committed Aug 24, 2020
1 parent b0515ec commit 10aeb3e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions init_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,20 +38,20 @@ OPTIONS:
EOF
exit 4
}
message(){
message() {
echo "init_image.sh: ${@}"
}

submsg(){
echo "[+] ${@}"
submsg() {
echo "==> ${@}"
}

exit_with_error(){
exit_with_error() {
echo 1>&2 "init_image.sh: ERROR: ${2}"
exit ${1}
}

warn(){
warn() {
echo 1>&2 "init_image.sh: WARN: ${@}"
}

Expand Down
10 changes: 5 additions & 5 deletions shrinkwrap_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,19 @@ WARNING: This tool makes the assumption:
EOF
exit 4
}
message(){
message() {
echo "shrinkwrap_image.sh: ${@}"
}

submsg(){
echo "[+] ${@}"
submsg() {
echo "==> ${@}"
}

warn(){
warn() {
echo 1>&2 "shrinkwrap_image.sh: WARN: ${@}"
}

exit_with_error(){
exit_with_error() {
echo 1>&2 "shrinkwrap_image.sh: ERROR: ${2}"
exit ${1}
}
Expand Down

0 comments on commit 10aeb3e

Please sign in to comment.