Corrected typo.
[utils.git] / autodlctl
index 1b52a58..8837b47 100755 (executable)
--- a/autodlctl
+++ b/autodlctl
@@ -38,7 +38,7 @@ function getnext
     fi
     infofile="$d/.autodl/rtinfo"
     estatfile="$d/.autodl/estat"
-    args=(-e "$fsexpr" -t "$tag $curep" -I "$infofile" -E "$estat" -x "curep=$curep")
+    args=(-e "$fsexpr" -t "$tag $curep" -I "$infofile" -E "$estatfile" -x "curep=$curep")
     if [ -e "$d/.autodl/wait" ]; then
        args=("${args[@]}" -w)
     fi