chiark / gitweb /
regress: m1test: Use test -e rather than test -f
[adns.git] / regress / m1test
index 5acb788773e2ccdea9655e6dd81de05a14b422db..5f928f12a9d2a4bb8a94212c84924b6579f6f4b7 100755 (executable)
@@ -67,7 +67,7 @@ queryargs="$*"
 
 initstring="`cat $srcdir/init-$initfile.text`"
 xinitflagsf=$srcdir/$program-xinitflags.text
-if test -f $xinitflagsf
+if test -e $xinitflagsf
 then
        useinitflags="$initflags $(cat $xinitflagsf)";
 else