genfstab

simple implementation of genfstab
git clone git://git.ckyln.com/~cem/genfstab.git
Log | Files | Refs | README | LICENSE

commit c1fbac9c3062662fded7f0ebafb2fd7f722eb6ba
parent c450e9d4c6663aec18bd12f430598cc442e79408
Author: Cem Keylan <cem@ckyln.com>
Date:   Fri, 13 Aug 2021 09:02:28 +0300

find_tag: fix shellcheck error

Diffstat:
Mgenfstab | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/genfstab b/genfstab @@ -17,7 +17,7 @@ find_tag() { # If no identifiers are given, return with the plain partition name. [ "$ident" ] || { out "$1"; return 0 ;} - [ -d "${tagdir:=/dev/disk/by-$(printf "$ident" | tr '[:upper:]' '[:lower:]')}" ] || + [ -d "${tagdir:=/dev/disk/by-$(printf %s "$ident" | tr '[:upper:]' '[:lower:]')}" ] || die "Directory '$dir' doesn't exist" for file in "$tagdir/"*; do