summaryrefslogtreecommitdiff
path: root/strace-log-merge
diff options
context:
space:
mode:
Diffstat (limited to 'strace-log-merge')
-rwxr-xr-xstrace-log-merge2
1 files changed, 1 insertions, 1 deletions
diff --git a/strace-log-merge b/strace-log-merge
index 14b3bf1..8ab2409 100755
--- a/strace-log-merge
+++ b/strace-log-merge
@@ -25,7 +25,7 @@ logfile=$1
for file in "$logfile".*; do
[ -f "$file" ] || continue
- suffix=${file#$logfile.}
+ suffix=${file#"$logfile".}
[ "$suffix" -gt 0 ] 2> /dev/null ||
continue
pid=$(printf "%-5s" $suffix)