We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 39bce83 + dc6f5dd commit d625c53Copy full SHA for d625c53
src/zfs-auto-snapshot.sh
@@ -507,7 +507,7 @@ SNAPPROP="-o com.sun:auto-snapshot-desc='$opt_event'"
507
DATE=$(date --utc +%F-%H%M)
508
509
# The snapshot name after the @ symbol.
510
-SNAPNAME="$opt_prefix${opt_label:+$opt_sep$opt_label-$DATE}"
+SNAPNAME="$opt_prefix${opt_label:+$opt_sep$opt_label}-$DATE"
511
512
# The expression for matching old snapshots. -YYYY-MM-DD-HHMM
513
SNAPGLOB="$opt_prefix${opt_label:+?$opt_label}????????????????"
0 commit comments