153906 mkdumprd: use array to store ssh arguments in mkdir_save_path_ssh

Authored and Committed by liutgnu 2 years ago
1 file changed. 4 lines added. 4 lines removed.
    mkdumprd: use array to store ssh arguments in mkdir_save_path_ssh
    
    upstream: fedora
    resolves: bz2003832
    conflict: none
    
    commit 3a4b0351d0f31de739a2aae794e0e2af7fcc4942
    Author: Kairui Song <kasong@redhat.com>
    Date:   Wed Aug 18 15:45:20 2021 +0800
    
        mkdumprd: use array to store ssh arguments in mkdir_save_path_ssh
    
        For storing arguments, plain string is not a good choice. Array is
        preferred:
    
        See: https://github.com/koalaman/shellcheck/wiki/SC2089
    
        Signed-off-by: Kairui Song <kasong@redhat.com>
        Acked-by: Philipp Rudo <prudo@redhat.com>
    
    Signed-off-by: Tao Liu <ltao@redhat.com>
    
        
file modified
+4 -4