markfasheh / ocfs2-tools

GNU General Public License v2.0
20 stars 35 forks source link

o2cb.init: Fix error printed by service o2cb stop #24

Closed vvidic closed 6 years ago

vvidic commented 6 years ago

The $LOADED_PLUGINS_FILE disappears after unloading modules and the read returns an error:

service o2cb stop

... Unloading module "ocfs2_dlmfs": OK Unloading module "ocfs2_stack_o2cb": OK /usr/lib/ocfs2-tools/o2cb: line 1151: read: read error: 0: No such device