diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2017-01-11 12:54:33 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2017-01-11 12:54:33 +0300 |
commit | b99beab2b48d3bc8130602d6e8907d8acb3deab3 (patch) | |
tree | 70fcccdf223ef5e82a7a3d784168fd24d62be71f /modules | |
parent | ea2b52e374bf2c9194907640707aa0b4a31408a0 (diff) | |
download | nixsap-b99beab2b48d3bc8130602d6e8907d8acb3deab3.tar.gz |
mysqlbackup: explicit path for find
Shellcheck began to complain:
SC2185: Some finds don't have a default path. Specify '.' explicitly
Diffstat (limited to 'modules')
-rw-r--r-- | modules/apps/mysqlbackup.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/apps/mysqlbackup.nix b/modules/apps/mysqlbackup.nix index 038394b..113d176 100644 --- a/modules/apps/mysqlbackup.nix +++ b/modules/apps/mysqlbackup.nix @@ -317,7 +317,7 @@ let log="${cfg.dumpDir}/$DATE/joblog.txt" { - cd '${privateDir}/jobs' && find -type l -printf '%P\n'; + cd '${privateDir}/jobs' && ${pkgs.findutils}/bin/find . -type l -printf '%P\n'; } | ${pkgs.parallel}/bin/parallel \ --halt-on-error 0 \ --joblog "$log" \ |