Skip to content

Commit 882043a

Browse files
committed
Added some debug stmnts
1 parent d2f8296 commit 882043a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

rpi-clone

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313
version=2.0.24
1414

15+
declare -r PS4='|${LINENO}> \011${FUNCNAME[0]:+${FUNCNAME[0]}(): }'
16+
1517
# setup trusted paths for dependancies (like rsync, grub, fdisk, etc)
1618
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
1719

@@ -292,6 +294,8 @@ rsync_file_system()
292294
src_dir="$1"
293295
dst_dir="$2"
294296

297+
qprintf " => lsblk $(lsblk)\n"
298+
295299
qprintf " => rsync $1 $2 $3 ..."
296300

297301
if [ "$3" == "with-root-excludes" ]

0 commit comments

Comments
 (0)