Skip to content

Commit d58272c

Browse files
committed
[fix] : Fixed SC2078
1 parent 1ba776e commit d58272c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

channels/share/airootfs.any/root/optimize_for_tarball.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ remove /airootfs.any/etc/systemd/logind.conf.d/do-not-suspend.conf
5858
if [[ -f "/etc/gdm/custom.conf" ]]; then
5959
sed -i "s/Automatic*/#Automatic/g" "/etc/gdm/custom.conf"
6060
fi
61-
if [[ "/etc/lightdm/lightdm.conf" ]]; then
61+
if [[ -f "/etc/lightdm/lightdm.conf" ]]; then
6262
sed -i "s/^autologin/#autologin/g" "/etc/lightdm/lightdm.conf"
6363
fi
6464

0 commit comments

Comments
 (0)