Skip to content

Commit 5b095db

Browse files
committed
Small updates
1 parent bf5d5b5 commit 5b095db

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

alis-recovery.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ function check_variables() {
9494
local DEVICE_DETECTED="false"
9595
if [ -e "/dev/sda" ] && [ "$DEVICE_BOOT" != "/dev/sda" ]; then
9696
if [ "$DEVICE_DETECTED" == "true" ]; then
97-
echo "Auto device is ambigous, detected $DEVICE and /dev/sda."
97+
echo "Auto device is ambiguous, detected $DEVICE and /dev/sda."
9898
exit 1
9999
fi
100100
DEVICE_DETECTED="true"
@@ -103,7 +103,7 @@ function check_variables() {
103103
fi
104104
if [ -e "/dev/nvme0n1" ] && [ "$DEVICE_BOOT" != "/dev/nvme0n1" ]; then
105105
if [ "$DEVICE_DETECTED" == "true" ]; then
106-
echo "Auto device is ambigous, detected $DEVICE and /dev/nvme0n1."
106+
echo "Auto device is ambiguous, detected $DEVICE and /dev/nvme0n1."
107107
exit 1
108108
fi
109109
DEVICE_DETECTED="true"
@@ -112,7 +112,7 @@ function check_variables() {
112112
fi
113113
if [ -e "/dev/vda" ] && [ "$DEVICE_BOOT" != "/dev/vda" ]; then
114114
if [ "$DEVICE_DETECTED" == "true" ]; then
115-
echo "Auto device is ambigous, detected $DEVICE and /dev/vda."
115+
echo "Auto device is ambiguous, detected $DEVICE and /dev/vda."
116116
exit 1
117117
fi
118118
DEVICE_DETECTED="true"
@@ -121,7 +121,7 @@ function check_variables() {
121121
fi
122122
if [ -e "/dev/mmcblk0" ] && [ "$DEVICE_BOOT" != "/dev/mmcblk0" ]; then
123123
if [ "$DEVICE_DETECTED" == "true" ]; then
124-
echo "Auto device is ambigous, detected $DEVICE and /dev/mmcblk0."
124+
echo "Auto device is ambiguous, detected $DEVICE and /dev/mmcblk0."
125125
exit 1
126126
fi
127127
DEVICE_DETECTED="true"

alis.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function check_variables() {
109109
local DEVICE_DETECTED="false"
110110
if [ -e "/dev/sda" ] && [ "$DEVICE_BOOT" != "/dev/sda" ]; then
111111
if [ "$DEVICE_DETECTED" == "true" ]; then
112-
echo "Auto device is ambigous, detected $DEVICE and /dev/sda."
112+
echo "Auto device is ambiguous, detected $DEVICE and /dev/sda."
113113
exit 1
114114
fi
115115
DEVICE_DETECTED="true"
@@ -118,7 +118,7 @@ function check_variables() {
118118
fi
119119
if [ -e "/dev/nvme0n1" ] && [ "$DEVICE_BOOT" != "/dev/nvme0n1" ]; then
120120
if [ "$DEVICE_DETECTED" == "true" ]; then
121-
echo "Auto device is ambigous, detected $DEVICE and /dev/nvme0n1."
121+
echo "Auto device is ambiguous, detected $DEVICE and /dev/nvme0n1."
122122
exit 1
123123
fi
124124
DEVICE_DETECTED="true"
@@ -127,7 +127,7 @@ function check_variables() {
127127
fi
128128
if [ -e "/dev/vda" ] && [ "$DEVICE_BOOT" != "/dev/vda" ]; then
129129
if [ "$DEVICE_DETECTED" == "true" ]; then
130-
echo "Auto device is ambigous, detected $DEVICE and /dev/vda."
130+
echo "Auto device is ambiguous, detected $DEVICE and /dev/vda."
131131
exit 1
132132
fi
133133
DEVICE_DETECTED="true"
@@ -136,7 +136,7 @@ function check_variables() {
136136
fi
137137
if [ -e "/dev/mmcblk0" ] && [ "$DEVICE_BOOT" != "/dev/mmcblk0" ]; then
138138
if [ "$DEVICE_DETECTED" == "true" ]; then
139-
echo "Auto device is ambigous, detected $DEVICE and /dev/mmcblk0."
139+
echo "Auto device is ambiguous, detected $DEVICE and /dev/mmcblk0."
140140
exit 1
141141
fi
142142
DEVICE_DETECTED="true"

0 commit comments

Comments
 (0)