]> git.mxchange.org Git - flightgear.git/blobdiff - scripts/debug/debug-fgfs
Connect the FlightGear /environment/turbulence-norm property to the
[flightgear.git] / scripts / debug / debug-fgfs
index 5383bda0272e3a1bb50f4bcb0752c1ab5cdbf5f9..8683db29783c529d769f4842d5c2c15989b852bd 100755 (executable)
@@ -53,7 +53,7 @@ while true; do
        -i)     cmd=""; gdb="" ;;
        -b)     gdb="" ;;
        -x)     extra="--single-step=yes --optimise=no --cleanup=no --dump-error=1" ;;
-       -c)     core=$(ls -t core*|head -1)
+       -c)     core=$(ls -t core* 2>/dev/null|head -1)
                if test -z $core; then
                        echo "$0: there's no core file"
                        exit 1
@@ -66,7 +66,7 @@ while true; do
 done
 
 if ! test -e "$fgfs"; then
-       echo "$0: there's no fgfs exectuable $fgfs"
+       echo "$0: there's no fgfs executable $fgfs"
        exit 2
 fi