mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-02 22:42:30 +03:00
lvmcmdline: comment reset of configuration settings
We used to reset 'settings' to their defaults after command is finished. This however has a drawback we lose all the logging after this point. So this patch disables this 'reset' to observe for side-effects. lvm shell should be getting reset when next command is run - so this might or might not have some 'hidden' effects. ATM it looks like nothing really bad should happen - we just should be able to get more logs - at least from normal commands.
This commit is contained in:
parent
39a121ddbc
commit
5a78979b68
@ -3335,8 +3335,8 @@ int lvm_run_command(struct cmd_context *cmd, int argc, char **argv)
|
||||
* ignore everything supplied on the command line of the
|
||||
* completed command.
|
||||
*/
|
||||
_reset_current_settings_to_default(cmd);
|
||||
_apply_current_settings(cmd);
|
||||
//_reset_current_settings_to_default(cmd);
|
||||
//_apply_current_settings(cmd);
|
||||
|
||||
/*
|
||||
* free off any memory the command used.
|
||||
|
Loading…
Reference in New Issue
Block a user