Skip to content

Commit 5b1475d

Browse files
committed
fx SIGN->SIG
1 parent ebc8a57 commit 5b1475d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/install-nix-from-closure.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,11 @@ warning() {
147147

148148
error() {
149149
message="$1"
150-
exitSign="$2"
150+
exitSig="$2"
151151
color="$red"
152152
prefix='Error'
153153
>&2 print
154-
if [ -z "$exitSign" ]; then
154+
if [ -z "$exitSig" ]; then
155155
exit 1
156156
fi
157157
}
@@ -279,7 +279,7 @@ checkingRequirements() { # This function must have checks only. Without makin
279279
if [ ! -w $dest ]; then
280280
error "
281281
282-
Directory '$dest' exists, but is not writable fot user '$USER'.
282+
Directory '$dest' exists, but is not writable for user '$USER'.
283283
284284
This could indicate that another user has already performed a single-user
285285
installation of Nix on this system.
@@ -343,7 +343,7 @@ installNix() {
343343
# }
344344
#
345345
# # action of functions
346-
# # 'exit SING # to the trap that catches exit SIGN'
346+
# # 'exit SIG # to the trap that catches exit SIG'
347347
# }
348348
#
349349
# func

0 commit comments

Comments
 (0)