Skip to content

Commit db879fe

Browse files
committed
fix typo
1 parent 956bd2d commit db879fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

root/etc/cont-init.d/50-rclone

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ if [ ${#crons[@]} -ne 0 ] && [ ${#crons[@]} -ne $ndup ]; then
5656
fi
5757

5858
# ensure RCLONE_REFRESH_ON_MOUNT_REPEAT is unsigned integer
59-
is_unit() { case $1 in ''|*[!0-9]*) return 1;;esac; }
60-
if ! is_unit "$RCLONE_REFRESH_ON_MOUNT_REPEAT"; then
59+
is_uint() { case $1 in ''|*[!0-9]*) return 1;;esac; }
60+
if ! is_uint "$RCLONE_REFRESH_ON_MOUNT_REPEAT"; then
6161
echo "*** ERROR: variable should be unsigned integer: RCLONE_REFRESH_ON_MOUNT_REPEAT=$RCLONE_REFRESH_ON_MOUNT_REPEAT"
6262
exit 1
6363
fi

0 commit comments

Comments
 (0)