Fix m0reportbug to work on devvm
* Fix m0reportbug to work on devvm
Removed the check for symlink as R2 doesn't have symlink for
/var/motr unlike R1
@@ -105,14 +105,7 @@ main() {
warn "$IN_DIR: no such directory"
continue
}
- [[ -L $IN_DIR ]] && {
- # As per our design, after failover softlink /var/motr is
- # created to points /var/motr{1-2}, and since our INPUT_DIR
- # is globe pattern (/var/motr*) we end up collecting m0traces
- # and cores twice unnecessary, hence skipped data collection
- # if IN_DIR is a soft link.
- continue
- }
+
export IN_DIR=$(readlink -f $IN_DIR)
local label=$stage
