Skip to content

Commit

Permalink
fix copy disabling for beamline users (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
Consolethinks committed Sep 2, 2024
1 parent d1ab011 commit 61b6117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/commands/datasetIngestor.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ For Windows you need instead to specify -user username:password on the command l
// a destination location is defined by the archive system
// for now let the user decide if he needs a copy

if nocopyFlag || beamlineAccount {
if nocopyFlag {
copyFlag = false
}
checkCentralAvailability := !(cmd.Flags().Changed("copy") || cmd.Flags().Changed("nocopy") || beamlineAccount || copyFlag)
Expand Down

0 comments on commit 61b6117

Please sign in to comment.