Skip to content

Commit

Permalink
print msg only if verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Lange committed Aug 21, 2016
1 parent f1c8e3c commit 5c302d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/fcopy
Expand Up @@ -169,7 +169,7 @@ sub copy_one {
print LOGFILE "$source\t$class\t# $logcomment\n" if $logfile;
# the destination remains unchanged
if ($preserve) {
warn "fcopy: destination $source remains unchanged\n";
warn "fcopy: destination $source remains unchanged\n" if $verbose;
_unlink($tmpfile) if $preinst;
set_mode($ps,$destfile,$class); # set mode even no file was copied
return;
Expand Down

0 comments on commit 5c302d7

Please sign in to comment.