minor change with checking WORKAREA env var.
[xfstests-dev.git] / 040
diff --git a/040 b/040
index 8e75ad186e14ec9305d9edcee119d790b8fd48e9..0d62c6d5df310b8def644339439018e1fd402533 100755 (executable)
--- a/040
+++ b/040
@@ -57,7 +57,7 @@ cd `pwd`
 
 if [ -z "$WORKAREA" ]
 then
-    export WORKAREA=../../..
+    _notrun "Can't run srcdiff without WORKAREA set"
 fi
 
 if [ ! -f $WORKAREA/cmd/xfstests/tools/srcdiff ]