Skip to content

Commit 53be260

Browse files
committed
[fix] : Ensure compatibility
1 parent a9b906c commit 53be260

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ kernel="${kernel_config_line[0]}"
5555
kernel_filename="${kernel_config_line[1]}"
5656
kernel_mkinitcpio_profile="${kernel_config_line[2]}"
5757

58+
# Make it compatible with previous code
59+
unset OPTIND OPTARG arg
60+
5861

5962
# Check whether true or false is assigned to the variable.
6063
function check_bool() {

0 commit comments

Comments
 (0)