Whamcloud - gitweb
b=15685 fix obdfilter-survey script to work properly with remote oss-s
[fs/lustre-release.git] / lustre-iokit / obdfilter-survey / libecho
index de52762..454ea2e 100644 (file)
@@ -56,9 +56,7 @@ dsh () {
     shift 2
     local command="$@"
 
-    local here=$(pwd)
-
-    command="cd $here; export PATH=/sbin:/usr/sbin:\$PATH; $command"
+    command="export PATH=/sbin:/usr/sbin:\$PATH; $command"
 
     case $DSH in
        ssh)