diff options
| -rw-r--r-- | doNormal.go | 4 | ||||
| -rw-r--r-- | doPatch.go | 5 |
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() @@ -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 |
