summaryrefslogtreecommitdiff
path: root/run/run.go
diff options
context:
space:
mode:
Diffstat (limited to 'run/run.go')
-rw-r--r--run/run.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/run/run.go b/run/run.go
index 578e552..42720f2 100644
--- a/run/run.go
+++ b/run/run.go
@@ -91,9 +91,8 @@ func Exec(source *model.Source, target model.Target, args ...string) error {
cmd.Stderr = os.Stderr
cmd.Args = append(cmd.Args, args...)
- _, _ = fmt.Fprintln(os.Stderr, menu.InlineCmd(cmd))
-
if *flags.Dry {
+ _, _ = fmt.Fprintln(os.Stderr, menu.InlineCmd(cmd))
return nil
}