Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix fs_time check for number of arguments and line duplication in recon-surf #545

Merged
merged 2 commits into from
Jul 12, 2024

Conversation

dkuegler
Copy link
Member

This PR addresses a bug in recon_surf that caused errors, if --parallel was not passed. This Bug was reported in #543 .
It also addresses duplicate lines in recon-surf.sh, which seems to be a rebase artifact.

fs_time was terminating when only one command and no arguments to that command were passed ("$#" == 1).
This check was also duplicated with a later check in the script where the length of $cmd is checked.
> if [[ "${#cmd[@]}" == 0 ]]
Removing the first check in favor of this second, more descriptive and robust check.
…ll_fs_pruned.sh. These are likely git rebase/merge corruptions.
@dkuegler dkuegler marked this pull request as ready for review July 12, 2024 14:03
@dkuegler dkuegler requested a review from m-reuter July 12, 2024 14:04
@m-reuter m-reuter merged commit add1951 into Deep-MI:dev Jul 12, 2024
2 checks passed
@dkuegler dkuegler deleted the fix/fs_time branch July 12, 2024 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants