X-Git-Url: http://git.rot13.org/?p=librfid;a=blobdiff_plain;f=ccid-dump.sh;fp=ccid-dump.sh;h=8e928e593d7e798d07d283db4b7b1030e7c99da1;hp=8df6d01cf7aec6e9b28ef296bde6fd3673e78b3b;hb=587eec933bcbfd3a4909311777aa46dbef351dd7;hpb=ac14895e9f07e619f01ed0098e88663ff83555d5 diff --git a/ccid-dump.sh b/ccid-dump.sh index 8df6d01..8e928e5 100755 --- a/ccid-dump.sh +++ b/ccid-dump.sh @@ -1,4 +1,4 @@ #!/bin/sh -xe test -d dump || mkdir dump test -f dump/ccid || gcc -DTEST -Wall -Iinclude -lusb -g src/ccid/ccid-driver.c -o dump/ccid -./dump/ccid 2>&1 | tee dump/`hostname`.ccid +sudo ./dump/ccid 2>&1 | tee dump/`hostname`.ccid