Skip to content

Commit 375db0a

Browse files
Update scripts/entrypoint.sh
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent c10e4ff commit 375db0a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

scripts/entrypoint.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,11 @@ fi
9191
# Set bell-style none in global inputrc
9292
if [ ! -f "airootfs/etc/inputrc" ]; then
9393
log "Setting bell-style none in global inputrc..."
94-
if ! mkdir -p "airootfs/etc" 2>/dev/null; then
95-
warn "Failed to create etc directory, continuing..."
94+
if ! mkdir -p "airootfs/etc" 2>/dev/null; then
95+
warn "Failed to create etc directory, continuing..."
96+
else
97+
echo "set bell-style none" > "airootfs/etc/inputrc"
98+
fi
9699
else
97100
echo "set bell-style none" > "airootfs/etc/inputrc"
98101
fi

0 commit comments

Comments
 (0)