X-Git-Url: http://gitweb.hachti.de/?a=blobdiff_plain;f=bin%2Fsload;h=7cada68aaae41cc70ee8bf36dd8c5d862e90546e;hb=f4c2dcf3f0d4513b1237872d4ce35335b395c6c3;hp=49e8bf277a5aa9f8615bd112cdede14478277fa0;hpb=643897c4064d27924f0734f483bc0bb6cfd14a07;p=h316.git diff --git a/bin/sload b/bin/sload index 49e8bf2..7cada68 100644 --- a/bin/sload +++ b/bin/sload @@ -1,12 +1,12 @@ #!/bin/bash # Load a slst file -if [ ! $1 ] ; then - echo "Argument fehlt!" +if [ ! -e $1 ] ; then + echo "Argument fehlerhaft!" exit 2 fi -$name=tmp +name="tmp" echo "at ptr $1" > $name.go echo "boot ptr" >> $name.go