Skip to content

Commit 44017e4

Browse files
committed
Fix whitespace and formatting in restore.sh
Removed trailing spaces and standardized spacing around redirection operators for improved code consistency and readability.
1 parent e5a0bd0 commit 44017e4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

restore.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ else
122122
case "$SELECTION" in
123123
'' | *[!0-9]*)
124124
log_error "Invalid selection."
125-
exit 1
125+
exit 1
126126
;;
127127
esac
128128

@@ -150,16 +150,16 @@ printf "Are you sure? (y/N): "
150150
read -r CONFIRM
151151
case "$CONFIRM" in
152152
[yY]*) ;;
153-
*)
153+
*)
154154
log_info "Operation cancelled."
155-
exit 0
155+
exit 0
156156
;;
157157
esac
158158

159159
# 4. Mount EFI
160160
# Mount the selected EFI partition to access its contents.
161161
log_info "Mounting $TARGET_DISK..."
162-
diskutil mount "$TARGET_DISK" > /dev/null
162+
diskutil mount "$TARGET_DISK" >/dev/null
163163
if [ $? -ne 0 ]; then
164164
log_error "Failed to mount $TARGET_DISK"
165165
exit 1

0 commit comments

Comments
 (0)