mirror of
https://github.com/schoebel/mars
synced 2025-01-15 19:41:06 +00:00
marsadm: view warns if module is not loaded
This commit is contained in:
parent
d40f0d42e3
commit
a1dbe268c2
@ -4514,6 +4514,7 @@ sub do_all_res {
|
||||
}
|
||||
|
||||
if ($cmd =~ m/^(view|pretty)/) {
|
||||
lwarn "mars kernel module is not loaded\n" unless is_module_loaded();
|
||||
do_all_res(\&view_cmd, $cmd, $res, @args);
|
||||
finish_links();
|
||||
exit($error_count);
|
||||
|
Loading…
Reference in New Issue
Block a user