Skip to content

Commit a535738

Browse files
A lil bug fix
add missing shif while using while..case
1 parent e8a85f4 commit a535738

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

udroid/src/udroid.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -330,28 +330,28 @@ login() {
330330
# use_termux_home=true
331331
# ;;
332332
--isolated)
333-
isolated_environment=true
333+
isolated_environment=true; shift
334334
;;
335335
--fix-low-parts)
336-
fix_low_ports=true
336+
fix_low_ports=true; shift
337337
;;
338338
--no-shared-tmp)
339-
make_host_tmp_shared=false
339+
make_host_tmp_shared=false; shift
340340
;;
341341
--no-link2symlink)
342-
no_link2symlink=true
342+
no_link2symlink=true; shift
343343
;;
344344
--no-sysvipc)
345-
no_sysvipc=true
345+
no_sysvipc=true; shift
346346
;;
347347
--no-fake-root-id)
348-
no_fake_root_id=true
348+
no_fake_root_id=true; shift
349349
;;
350350
--no-cwd-active-directory | --ncwd)
351-
no_cwd_active_directory=true
351+
no_cwd_active_directory=true; shift
352352
;;
353353
--no-kill-on-exit)
354-
no_kill_on_exit=true
354+
no_kill_on_exit=true; shift
355355
;;
356356
-*)
357357
echo "Unknown option: $1"

0 commit comments

Comments
 (0)