Skip to content

Commit

Permalink
added missing quotes for printf
Browse files Browse the repository at this point in the history
  • Loading branch information
ppbrown committed Aug 26, 2019
1 parent ac869b8 commit b2820f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion zrep
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ zrep_status(){
else
if (( Z_HAS_SNAPPROPS )) ; then
typeset sentseconds=`$ZFSGETVAL ${ZREPTAG}:sent $lastsnap`
date=`printf "%(%Y/%m/%d-%H:%M:%S)T" #$sentseconds`
date=`printf "%(%Y/%m/%d-%H:%M:%S)T" "#$sentseconds"`
vdate=${date%:*}
fi

Expand Down
2 changes: 1 addition & 1 deletion zrep_status
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ zrep_status(){
else
if (( Z_HAS_SNAPPROPS )) ; then
typeset sentseconds=`$ZFSGETVAL ${ZREPTAG}:sent $lastsnap`
date=`printf "%(%Y/%m/%d-%H:%M:%S)T" #$sentseconds`
date=`printf "%(%Y/%m/%d-%H:%M:%S)T" "#$sentseconds"`
vdate=${date%:*}
fi

Expand Down

0 comments on commit b2820f7

Please sign in to comment.