projects
/
cloudstore.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
513d3bc
)
better error message
author
Dobrica Pavlinusic
<dpavlin@rsync1.maxxo.com>
Sat, 7 Jan 2012 13:17:47 +0000
(14:17 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rsync1.maxxo.com>
Sat, 7 Jan 2012 13:17:47 +0000
(14:17 +0100)
user-md5sum.pl
patch
|
blob
|
history
diff --git
a/user-md5sum.pl
b/user-md5sum.pl
index
730ed4a
..
618198b
100755
(executable)
--- a/
user-md5sum.pl
+++ b/
user-md5sum.pl
@@
-9,7
+9,7
@@
my $user = shift @ARGV || die "usage: $0 u2001\n";
my $dir = (getpwnam($user))[7];
-die
$!
unless -d $dir;
+die
"$dir: $!"
unless -d $dir;
my $path = "$dir/.md5";