Skip to content

Commit 6ed0530

Browse files
committed
(improve compatibility)
1 parent 9041bbe commit 6ed0530

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/base.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ finalize() {
105105

106106
# erase those files only if not symlinks
107107
for foo in /etc/machine-id /var/lib/dbus/machine-id; do
108-
if [ -f "$WORK$foo" -a ! -L "$WORK$foo" ]; then
108+
if [ -f "$WORK$foo" ] && [ ! -L "$WORK$foo" ]; then
109109
rm -f "$WORK$foo"
110110
fi
111111
done

0 commit comments

Comments
 (0)