]> git.phdru.name Git - audio-cdr-video.git/blobdiff - cdr-dvdrw-tools/dvdrw-boot
Do not shift an empty list of arguments
[audio-cdr-video.git] / cdr-dvdrw-tools / dvdrw-boot
index ab7eee0e2e0060c934ce1e0a7c0326b5f377af85..3c9e6625d6841a410ab5617d7afe738f979af544 100755 (executable)
@@ -15,8 +15,8 @@ if [ -z "$1" ]; then
    read boot_img
 else
    boot_img="$1"
+   shift
 fi
-shift
 
 alt_boot=''
 if [ "$@" ]; then