Whamcloud - gitweb
- always create the gdb script
authorrread <rread>
Thu, 22 Aug 2002 18:06:33 +0000 (18:06 +0000)
committerrread <rread>
Thu, 22 Aug 2002 18:06:33 +0000 (18:06 +0000)
lustre/utils/lconf

index 75060fc..328d418 100755 (executable)
@@ -954,10 +954,10 @@ def doHost(lustreNode, hosts, clean_flag):
 
     if not clean_flag:
         setDebugPath()
+        script = config.gdb_script()
+        run(lctl.lctl, ' modules >', script)
         if config.gdb():
             # dump /tmp/ogdb and sleep/pause here
-            script = config.gdb_script()
-            run(lctl.lctl, ' modules >', script)
             log ("The GDB module script is in", script)
             time.sleep(5)