summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-17 05:32:38 -0500
committerJeff Carr <[email protected]>2025-10-17 05:32:38 -0500
commitdf0979a9468e56a930d0fe64c41066bd21dc3b04 (patch)
treefdd2ac878cf87f666f036d2950f4e8e5f99b51fe
parentcc7ead38db8403089e428caf1ef634b42455389e (diff)
lame panicv0.25.94
-rw-r--r--doNormal.go4
-rw-r--r--doPatch.go5
2 files changed, 9 insertions, 0 deletions
diff --git a/doNormal.go b/doNormal.go
index ff47a79..537b751 100644
--- a/doNormal.go
+++ b/doNormal.go
@@ -60,6 +60,10 @@ func doNormalAll() (string, error) {
return s, err
}
+func (a *args) DoNormal() (string, error) {
+ return doNormalAttempt()
+}
+
// try to switch to "Normal" mode
func doNormalAttempt() (string, error) {
start := time.Now()
diff --git a/doPatch.go b/doPatch.go
index e0f697e..fe32dfb 100644
--- a/doPatch.go
+++ b/doPatch.go
@@ -165,6 +165,11 @@ func doPatchProcess() (string, error) {
}
continue
}
+ if argv.Patch == nil {
+ needfix += 1
+ continue
+ }
+ // if !me.argv.If("--apply") {
if !argv.Patch.Apply {
// --apply isn't set. don't go any further
needfix += 1